mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Add versioning information to eve_api
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
VERSION = (0, 1)
|
||||
|
||||
# Dynamically calculate the version based on VERSION tuple
|
||||
if len(VERSION)>2 and VERSION[2] is not None:
|
||||
str_version = "%d.%d_%s" % VERSION[:3]
|
||||
else:
|
||||
str_version = "%d.%d" % VERSION[:2]
|
||||
|
||||
__version__ = str_version
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user