pypi_packages: Use README files for long descriptions.
MODIFY
zulip/setup.py
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=[

MODIFY
zulip_bots/setup.py
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=[

MODIFY
zulip_botserver/setup.py
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=[

pypi_packages: Use README files for long descriptions.