Fixing typo and making License a variable

This commit is contained in:
Alex Epstein 2017-08-28 15:07:24 -04:00
parent 0856bc0dd6
commit 56cbf5ff3b

View File

@ -13,6 +13,7 @@ DESCRIPTION = 'My short description for my project. '
URL = 'https://github.com/me/myproject'
EMAIL = 'me@example.com'
AUTHOR = 'Awesome Soul'
LICENSE = "ISC"
here = os.path.abspath(os.path.dirname(__file__))
@ -20,7 +21,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 +42,7 @@ required = [
# Where the magic happens:
setup(
name=NAME',
name=NAME,
version=about['__version__'],
description=DESCRIPTION,
long_description=long_description,
@ -54,7 +55,7 @@ setup(
# },
install_requires=required,
include_package_data=True,
license='ISC',
license=LICENSE,
classifiers=[
'License :: OSI Approved :: ISC License',
'Programming Language :: Python',