Add Description metadata through setup.py long_description
authorHarmon <Harmon758@gmail.com>
Thu, 17 Oct 2019 19:21:51 +0000 (14:21 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 17 Oct 2019 19:21:51 +0000 (14:21 -0500)
setup.py

index e41fb81ebc4f6a2992def199702c0dcda134e95e..cb2ba8864d9c78240b2f8764fe5a374144ff661e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,9 @@ if match:
 else:
     raise RuntimeError("Unable to find version string in %s." % (VERSION_FILE,))
 
+with open("README.md") as readme_file:
+    long_description = readme_file.read()
+
 tests_require = [
     "mock>=1.0.1",
     "nose>=1.3.3",
@@ -22,6 +25,8 @@ tests_require = [
 setup(name="tweepy",
       version=version,
       description="Twitter library for Python",
+      long_description=long_description,
+      long_description_content_type="text/markdown",
       license="MIT",
       author="Joshua Roesslein",
       author_email="tweepy@googlegroups.com",