Skip to content

Commit d55c640

Browse files
committed
Fix version parsing
1 parent 7c58ca0 commit d55c640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def git_describe_to_python_version(version):
9999
try:
100100
# get version from existing version file
101101
with open(version_file) as vf:
102-
version = vf.read().strip().split("=")[-1].replace("'", "")
102+
version = vf.read().strip().split("=")[-1].replace("'", "").replace("\"", "")
103103
version = version.strip()
104104
except OSError:
105105
pass

0 commit comments

Comments
 (0)