Skip to content

Commit

Permalink
Fix bug with version name (#400)
Browse files Browse the repository at this point in the history
This is likely caused by black, but is a simple fix.
  • Loading branch information
jarrodmillman committed May 27, 2022
1 parent 7964eff commit 198f6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
with open(os.path.join("numpydoc", "_version.py")) as fid:
for line in (line.strip() for line in fid):
if line.startswith("__version__"):
version = line.split("=")[1].strip().strip("'")
version = line.split("=")[1].strip().strip('"')
break
if version is None:
raise RuntimeError("Could not determine version")
Expand Down

0 comments on commit 198f6e8

Please sign in to comment.