mirror of
https://github.com/kennethreitz/setup.py.git
synced 2026-06-05 23:10:17 +00:00
Merge pull request #3 from alexanderepstein/master
Fixing typo and making License a variable
This commit is contained in:
@@ -20,7 +20,7 @@ here = os.path.abspath(os.path.dirname(__file__))
|
||||
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||
long_description = '\n' + f.read()
|
||||
|
||||
# Load the package's __version__.py module as a dictionary.
|
||||
# Load the package's __version__.py module as a dictionary.
|
||||
about = {}
|
||||
with open(os.path.join(here, NAME, "__version__.py")) as f:
|
||||
exec(f.read(), about)
|
||||
@@ -41,7 +41,7 @@ if sys.argv[-1] == "publish":
|
||||
|
||||
# Where the magic happens:
|
||||
setup(
|
||||
name=NAME',
|
||||
name=NAME,
|
||||
version=about['__version__'],
|
||||
description=DESCRIPTION,
|
||||
long_description=long_description,
|
||||
|
||||
Reference in New Issue
Block a user