Skip to content

Commit 198f6e8

Browse files
Fix bug with version name (#400)
This is likely caused by black, but is a simple fix.
1 parent 7964eff commit 198f6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
with open(os.path.join("numpydoc", "_version.py")) as fid:
99
for line in (line.strip() for line in fid):
1010
if line.startswith("__version__"):
11-
version = line.split("=")[1].strip().strip("'")
11+
version = line.split("=")[1].strip().strip('"')
1212
break
1313
if version is None:
1414
raise RuntimeError("Could not determine version")

0 commit comments

Comments
 (0)