Modernize PEP517 build
As discussed in #84 (closed), move version to pyproject.toml
and use importlib.metadata
to fetch it from installed package metadata. While at it, move to new-style flit metadata and use tox's isolated_build option to remove the need for setup.py.