We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f744ec commit 38212d4Copy full SHA for 38212d4
setup.py
@@ -46,9 +46,10 @@
46
long_description = DESCRIPTION
47
48
# Load the package's __version__.py module as a dictionary.
49
+project_slug = NAME.lower().replace("-", "_").replace(" ", "_")
50
about = {}
51
if not VERSION:
- with open(os.path.join(here, NAME, '__version__.py')) as f:
52
+ with open(os.path.join(here, project_slug, '__version__.py')) as f:
53
exec(f.read(), about)
54
else:
55
about['__version__'] = VERSION
0 commit comments