Skip to content
This repository
Browse code

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

  • Loading branch information...
commit a07ac0f4703cbac0e8747ac0e9e08f41cba9b896 1 parent 0ba85ce
Charles Harris charris authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  setup.py
3  setup.py
@@ -107,7 +107,6 @@ def write_version_py(filename='numpy/version.py'):
107 107 """
108 108 FULL_VERSION = VERSION
109 109 if not ISRELEASED:
110   - FULL_VERSION += '.dev'
111 110 if os.path.exists('.git'):
112 111 GIT_REVISION = git_version()
113 112 elif os.path.exists(filename):
@@ -116,7 +115,7 @@ def write_version_py(filename='numpy/version.py'):
116 115 else:
117 116 GIT_REVISION = "Unknown"
118 117
119   - FULL_VERSION += GIT_REVISION[:7]
  118 + FULL_VERSION += '.dev-' + GIT_REVISION[:7]
120 119
121 120 a = open(filename, 'w')
122 121 try:

0 comments on commit a07ac0f

Please sign in to comment.
Something went wrong with that request. Please try again.