Update setup.py

This commit is contained in:
Kenneth Reitz 2018-05-04 09:33:44 -04:00 committed by GitHub
parent 83384c6ba9
commit 59cfa99b99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,8 @@ REQUIRED = [
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
# Import the README and use it as the long-description. # Import the README and use it as the long-description.
# Note: this will only work if 'README.rst' is present in your MANIFEST.in file! # Note: this will only work if 'README.md' is present in your MANIFEST.in file!
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read() 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.
@ -89,6 +89,7 @@ setup(
version=about['__version__'], version=about['__version__'],
description=DESCRIPTION, description=DESCRIPTION,
long_description=long_description, long_description=long_description,
long_description_content_type='text/markdown'
author=AUTHOR, author=AUTHOR,
author_email=EMAIL, author_email=EMAIL,
python_requires=REQUIRES_PYTHON, python_requires=REQUIRES_PYTHON,