From 212f9588e458d5c864134caa8dafbef164631671 Mon Sep 17 00:00:00 2001 From: kali Date: Thu, 6 Sep 2012 06:12:08 +0900 Subject: bootstrap setuptools + version fix also test_requires using parse_requirements --- pkg/version.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/version.py') 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. -- cgit v1.2.3