pypi_packages: Use README files for long descriptions.
This commit is contained in:
parent
c55bf78c6b
commit
dd201926fa
|
@ -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=[
|
||||
|
|
|
@ -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=[
|
||||
|
|
|
@ -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=[
|
||||
|
|
Loading…
Reference in a new issue