diff --git a/setup.py b/setup.py index 59332f90..933cbfde 100755 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ else: def get_version(): try: - return 'dev-' + subprocess.check_output(['git', 'rev-parse', 'HEAD']) + return 'dev-' + subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip() except Exception as e: return 'dev'