Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add __VERSION__ attribute #20

Open
dojafoja opened this issue Nov 1, 2016 · 3 comments
Open

add __VERSION__ attribute #20

dojafoja opened this issue Nov 1, 2016 · 3 comments

Comments

@dojafoja
Copy link
Contributor

dojafoja commented Nov 1, 2016

Can we add a __VERSION__ attribute so my gui can grab the current running version and check for updates?

@llakssz
Copy link
Owner

llakssz commented Nov 2, 2016

sure, good idea!

@llakssz
Copy link
Owner

llakssz commented Nov 3, 2016

I just add a VERSION variable, it's that simple?

@dojafoja
Copy link
Contributor Author

Only thing is to switch to a string to allow for versioning beyond a float value like 2.2.1. With a string I can use LooseVersion from distutils.version and make version comparisons even if you release a subversion like 2.2.1b

@dojafoja dojafoja reopened this Nov 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants