I am trying to understand what version a github package has. I am building it locally. In the release process, I find this:
VERSION=$(python setup.py --version) In my repo, whenever I run this I get:
» python setup.py --version 1.0.9.dev29 But I have no clue where this is coming from. The version 1.0.9.dev29 is neither in the setup.cfg, nor in a separate VERSION file. There is no version file or similar in the repo. I do not understand how setuptools is able to derive this version id. The documentation does not give any hints.
How does the python setup.py --version command work?
setup.pyyet? :-)--versionproduces theversionfield in the metadata. This specific project uses a third-party project calledpbrto set that up.