diff --git a/zulip/setup.py b/zulip/setup.py index b17070d..d97e7f8 100755 --- a/zulip/setup.py +++ b/zulip/setup.py @@ -9,6 +9,9 @@ import sys import itertools +with open("README.md", "r") as fh: + long_description = fh.read() + def version(): # type: () -> str version_py = os.path.join(os.path.dirname(__file__), "zulip", "__init__.py") @@ -30,6 +33,8 @@ package_info = dict( name='zulip', version=version(), description='Bindings for the Zulip message API', + long_description=long_description, + long_description_content_type="text/markdown", author='Zulip Open Source Project', author_email='zulip-devel@googlegroups.com', classifiers=[ diff --git a/zulip_bots/setup.py b/zulip_bots/setup.py index b52da3a..7dc2ffc 100755 --- a/zulip_bots/setup.py +++ b/zulip_bots/setup.py @@ -23,11 +23,16 @@ if not IS_PYPA_PACKAGE: package_data[''].append('fixtures/*.json') package_data[''].append('logo.*') +with open("README.md", "r") as fh: + long_description = fh.read() + # We should be installable with either setuptools or distutils. package_info = dict( name='zulip_bots', version=ZULIP_BOTS_VERSION, description='Zulip\'s Bot framework', + long_description=long_description, + long_description_content_type="text/markdown", author='Zulip Open Source Project', author_email='zulip-devel@googlegroups.com', classifiers=[ diff --git a/zulip_botserver/setup.py b/zulip_botserver/setup.py index 1bf29ab..89d13a1 100755 --- a/zulip_botserver/setup.py +++ b/zulip_botserver/setup.py @@ -7,11 +7,16 @@ if False: ZULIP_BOTSERVER_VERSION = "0.6.4" +with open("README.md", "r") as fh: + long_description = fh.read() + # We should be installable with either setuptools or distutils. package_info = dict( name='zulip_botserver', version=ZULIP_BOTSERVER_VERSION, description='Zulip\'s Flask server for running bots', + long_description=long_description, + long_description_content_type="text/markdown", author='Zulip Open Source Project', author_email='zulip-devel@googlegroups.com', classifiers=[