From a07ac0f4703cbac0e8747ac0e9e08f41cba9b896 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 10 Nov 2010 08:38:13 -0700 Subject: ENH: Add '-' to separate git hash in version. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'setup.py') 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: -- cgit v1.2.1