FunKiiU icon indicating copy to clipboard operation
FunKiiU copied to clipboard

add __VERSION__ attribute

Open dojafoja opened this issue 8 years ago • 3 comments

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

dojafoja avatar Nov 01 '16 21:11 dojafoja

sure, good idea!

llakssz avatar Nov 02 '16 08:11 llakssz

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

llakssz avatar Nov 03 '16 16:11 llakssz

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 avatar Nov 12 '16 20:11 dojafoja