1. Tarek Ziadé
  2. hitchhiker-guide-packaging
  3. Issues
Issue #37 new

docs about version number in setup.py and code

Thomas Güttler
created an issue

Please provide advice how to give the version number into setup.py and into the code at runtime.

The current guide puts the version into the setup.py. But it should be in version too.


Of course you only want to write/create the version in one place, not two.

Are the answers from stackoverflow here the right direction?