Skip to content

Commit 142432a

Browse files
author
y-p
committed
BLD: Strip leading v in git describe version string
1 parent b335459 commit 142432a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def build_extensions(self):
211211
if sys.version_info[0] >= 3:
212212
rev = rev.decode('ascii')
213213

214-
FULLVERSION = rev
214+
FULLVERSION = rev.lstrip('v')
215215

216216
except:
217217
warnings.warn("WARNING: Couldn't get git revision")

0 commit comments

Comments
 (0)