[Fixes #30] Add a VERSION tuple for comparison
Generate the __version__ string from the version tuple. Having a tuple like this makes it easy for other packages to compare versions, e.g.: if VERSION > (3,): if VERSION < (1, 8):
This commit is contained in:
parent
4b4eb9d46a
commit
f52a6a4f47
@ -3,4 +3,6 @@
|
|||||||
# 88YbdP88 8P 88""" dP__Yb Yb 88"Yb dP__Yb Yb "88 88""
|
# 88YbdP88 8P 88""" dP__Yb Yb 88"Yb dP__Yb Yb "88 88""
|
||||||
# 88 YY 88 dP 88 dP""""Yb YboodP 88 Yb dP""""Yb YboodP 888888
|
# 88 YY 88 dP 88 dP""""Yb YboodP 88 Yb dP""""Yb YboodP 888888
|
||||||
|
|
||||||
__version__ = '5.2.0'
|
VERSION = (5, 2, 0)
|
||||||
|
|
||||||
|
__version__ = '.'.join(map(str, VERSION))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user