Permalink
Browse files

ENH: Add '-' to separate git hash in version.

  • Loading branch information...
1 parent 0ba85ce commit a07ac0f4703cbac0e8747ac0e9e08f41cba9b896 @charris charris committed Nov 10, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 setup.py
View
@@ -107,7 +107,6 @@ def write_version_py(filename='numpy/version.py'):
"""
FULL_VERSION = VERSION
if not ISRELEASED:
- FULL_VERSION += '.dev'
if os.path.exists('.git'):
GIT_REVISION = git_version()
elif os.path.exists(filename):
@@ -116,7 +115,7 @@ def write_version_py(filename='numpy/version.py'):
else:
GIT_REVISION = "Unknown"
- FULL_VERSION += GIT_REVISION[:7]
+ FULL_VERSION += '.dev-' + GIT_REVISION[:7]
a = open(filename, 'w')
try:

0 comments on commit a07ac0f

Please sign in to comment.