Skip to content

Commit

Permalink
Modify the path to the opening __version__.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Sep 4, 2020
1 parent 19048b3 commit 457705d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -21,7 +21,7 @@ def get_release_command_class() -> Dict[str, setuptools.Command]:
return {"release": ReleaseCommand}


with open(os.path.join(MODULE_NAME, "__version__.py")) as f:
with open(os.path.join(MODULE_NAME.replace("-", "_"), "__version__.py")) as f:
exec(f.read(), pkg_info)

with open("README.rst", encoding=ENCODING) as f:
Expand Down

0 comments on commit 457705d

Please sign in to comment.