diff options
author | Jarrod Millman <jarrod.millman@gmail.com> | 2022-05-27 13:35:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-27 13:35:00 -0700 |
commit | 198f6e8b5fc8824f2f7a64c8036bb1a6ce238fbd (patch) | |
tree | 852a5d397689c96ec95df1e6c8f0f5567753e2f9 | |
parent | 7964eff483c8517e593ddc573befa8d53186d8fc (diff) | |
download | numpydoc-198f6e8b5fc8824f2f7a64c8036bb1a6ce238fbd.tar.gz |
Fix bug with version name (#400)
This is likely caused by black, but is a simple fix.
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ version = None 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") |