mirror of
https://github.com/kennethreitz/setup.py.git
synced 2026-06-05 15:00:18 +00:00
[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:
@@ -3,4 +3,6 @@
|
||||
# 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
|
||||
|
||||
__version__ = '5.2.0'
|
||||
VERSION = (5, 2, 0)
|
||||
|
||||
__version__ = '.'.join(map(str, VERSION))
|
||||
|
||||
Reference in New Issue
Block a user