Quantcast
Channel: How to keep version number in a single place in a python project with setup.py and debian/control - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by tumbleweed for How to keep version number in a single place in a...

A tool/command is used to generate a version.py module with the version number. However, this doesn't work well with launchpad recipes because the ability to run arbitrary commands in a recipe is...

View Article


How to keep version number in a single place in a python project with...

For a python project I'm working on, I'd like to:Keep a version string in a single place.Be able get the version string at runtime for logging purposesGet a default value when launching the code from...

View Article
Browsing latest articles
Browse All 2 View Live