diff options
author | kali <kali@leap.se> | 2012-09-06 06:12:08 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-06 06:12:28 +0900 |
commit | 212f9588e458d5c864134caa8dafbef164631671 (patch) | |
tree | 5fc8f531f54d0f4fe83a2298827e74a03bc296f6 /pkg/version.py | |
parent | 877c98a0add6fb3bce3e503098d120377012f6ec (diff) |
bootstrap setuptools + version fix
also test_requires using parse_requirements
Diffstat (limited to 'pkg/version.py')
-rw-r--r-- | pkg/version.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/version.py b/pkg/version.py index aa872b29..6366be84 100644 --- a/pkg/version.py +++ b/pkg/version.py @@ -89,6 +89,8 @@ def get_git_version(abbrev=4): if version is None: raise ValueError("Cannot find the version number!") + version = ''.join(version.split('/')[1:]) + # If the current version is different from what's in the # RELEASE-VERSION file, update the file to be current. |