Skip to content

Commit cf7b14f

Browse files
committed
Strip version correctly
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at> (cherry picked from commit e77ce89)
1 parent a294451 commit cf7b14f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def git_describe_to_python_version(version):
102102
# get version from existing version file
103103
with open(version_file) as vf:
104104
version = vf.read().strip().split('=')[-1].replace('\'', '')
105+
version = version.strip()
105106
except IOError:
106107
pass
107108

0 commit comments

Comments
 (0)