From 3ea4f8cb002d0372aff7dfc2711b050d320bf06b Mon Sep 17 00:00:00 2001 From: Teddy Reed Date: Wed, 7 Aug 2019 10:53:35 -0400 Subject: [PATCH] setup: Add long_description_content_type (#69) To check this passes tests use: python setup.py sdist twine check dist/ --- .travis.yml | 3 +++ setup.py | 1 + 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 980dbe1..6d2df37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,9 @@ python: - pypy3 install: - pip install -r requirements.txt + - pip install twine readme_renderer script: - python setup.py build - python setup.py test + - python setup.py sdist + - twine check dist/* diff --git a/setup.py b/setup.py index dcfb742..a35687b 100755 --- a/setup.py +++ b/setup.py @@ -78,6 +78,7 @@ def run(self): version=VERSION, description="Osquery Python API", long_description=README, + long_description_content_type="text/markdown", author=AUTHOR, author_email="osquery@fb.com", url="https://osquery.io",