Skip to content

Commit

Permalink
Set text/markdown content type for long description in setup.py
Browse files Browse the repository at this point in the history
- Set text/markdown content type for long description in setup.py
- Also remove .tar.gz sdist generation (leaving only .zip)
  • Loading branch information
Joshua Burnett committed Jan 17, 2019
1 parent f8067c6 commit 0eacb27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def run(self):
pass

self.status('Building Source and Wheel (universal) distribution…')
os.system('{0} setup.py sdist --formats=gztar,zip bdist_wheel --universal'.format(sys.executable))
os.system('{0} setup.py sdist --formats=zip bdist_wheel --universal'.format(sys.executable))

# self.status('Uploading the package to PyPi via Twine…')
# os.system('twine upload dist/*')
Expand All @@ -77,6 +77,7 @@ def run(self):
version=about['__version__'],
description=DESCRIPTION,
long_description=long_description,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=EMAIL,
py_modules=['multitimer'],
Expand Down

0 comments on commit 0eacb27

Please sign in to comment.