Repository navigation
dynamic = ["version"] in new pyproject.toml build #3190
|
I'm testing the brand-new [build-system]
requires = [
"setuptools @ git+https://github.com/pypa/setuptools",
]
build-backend = "setuptools.build_meta"When using [project]
# ...
dynamic = ["version"]the version is always set to 0.0.0, so I guess setuptools doesn't pick it up from the packages (So far, I've always used flit which does it automatically.) |
Answered by
abravalheri
Mar 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nschloe thank you very much for trying it out.
To get the version from an attribute you can use: