summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2010-11-10 08:38:13 -0700
committerCharles Harris <charlesr.harris@gmail.com>2010-11-10 08:38:13 -0700
commita07ac0f4703cbac0e8747ac0e9e08f41cba9b896 (patch)
tree4feb33abe6a863e59284d41b6419b9ac9517a699
parent0ba85ce9ce22ed1885858e052afbff8636b77bab (diff)
downloadnumpy-a07ac0f4703cbac0e8747ac0e9e08f41cba9b896.tar.gz
ENH: Add '-' to separate git hash in version.
-rwxr-xr-xsetup.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 67b53ac90..2d6d96204 100755
--- a/setup.py
+++ b/setup.py
@@ -107,7 +107,6 @@ if not release:
"""
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 @@ if not release:
else:
GIT_REVISION = "Unknown"
- FULL_VERSION += GIT_REVISION[:7]
+ FULL_VERSION += '.dev-' + GIT_REVISION[:7]
a = open(filename, 'w')
try: