build
build copied to clipboard
Request: A build-system independent way to get the version from a package source directory
This question was asked on StackOverflow, but it seems there are presently no tools that does this. Build is the only tool that I'm aware of that is able to generate the package version in a build-system independent way.
The request here is to add a (e.g.) --package-version option that returns the package version to stdout.
Duplicates:
- https://github.com/pypa/build/issues/348
I am also searching for a replacement for python setup.py --name, python setup.py --version and python setup.py --long-description commands.
Done in #940.