build icon indicating copy to clipboard operation
build copied to clipboard

Request: A build-system independent way to get the version from a package source directory

Open mwtoews opened this issue 2 years ago • 2 comments

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.

mwtoews avatar Feb 09 '23 21:02 mwtoews

Duplicates:

  • https://github.com/pypa/build/issues/348

sinoroc avatar Mar 08 '23 09:03 sinoroc

I am also searching for a replacement for python setup.py --name, python setup.py --version and python setup.py --long-description commands.

mgedmin avatar Oct 09 '24 16:10 mgedmin

Done in #940.

layday avatar Nov 01 '25 07:11 layday