Deduplicate version
Use the approach from finswimmer's comment on PR python-poetry/poetry#2366
(simplified for Python ≥ 3.8) so that we can maintain the project version at exactly one place: in pyproject.toml
Downside of this approach: Package now needs to be installed to be importable.
Edited by Joël Schwab