Show README on pypi.org
@@ -7,6 +7,9 @@ from setuptools import setup
# Also in twarc.py
__version__ = '1.4.5'
+with open("README.md") as f:
+ long_description = f.read()
+
if sys.version_info[0] < 3:
dependencies = open(join('requirements', 'python2.txt')).read().split()
else:
@@ -21,6 +24,8 @@ if __name__ == "__main__":
author_email='ehs@pobox.com',
packages=['twarc',],
description='Archive tweets from the command line',
+ long_description=long_description,
+ long_description_content_type="text/markdown",
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
install_requires=dependencies,
setup_requires=['pytest-runner'],
