mirror of
https://github.com/kennethreitz/setup.py.git
synced 2026-06-05 23:10:17 +00:00
Update setup.py
This commit is contained in:
@@ -46,9 +46,9 @@ except FileNotFoundError:
|
||||
long_description = DESCRIPTION
|
||||
|
||||
# Load the package's __version__.py module as a dictionary.
|
||||
project_slug = NAME.lower().replace("-", "_").replace(" ", "_")
|
||||
about = {}
|
||||
if not VERSION:
|
||||
project_slug = NAME.lower().replace("-", "_").replace(" ", "_")
|
||||
with open(os.path.join(here, project_slug, '__version__.py')) as f:
|
||||
exec(f.read(), about)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user