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
|
import itertools
|
||||||
|
|
||||||
|
with open("README.md", "r") as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
def version():
|
def version():
|
||||||
# type: () -> str
|
# type: () -> str
|
||||||
version_py = os.path.join(os.path.dirname(__file__), "zulip", "__init__.py")
|
version_py = os.path.join(os.path.dirname(__file__), "zulip", "__init__.py")
|
||||||
|
@ -30,6 +33,8 @@ package_info = dict(
|
||||||
name='zulip',
|
name='zulip',
|
||||||
version=version(),
|
version=version(),
|
||||||
description='Bindings for the Zulip message API',
|
description='Bindings for the Zulip message API',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author='Zulip Open Source Project',
|
author='Zulip Open Source Project',
|
||||||
author_email='zulip-devel@googlegroups.com',
|
author_email='zulip-devel@googlegroups.com',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
@ -23,11 +23,16 @@ if not IS_PYPA_PACKAGE:
|
||||||
package_data[''].append('fixtures/*.json')
|
package_data[''].append('fixtures/*.json')
|
||||||
package_data[''].append('logo.*')
|
package_data[''].append('logo.*')
|
||||||
|
|
||||||
|
with open("README.md", "r") as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
# We should be installable with either setuptools or distutils.
|
# We should be installable with either setuptools or distutils.
|
||||||
package_info = dict(
|
package_info = dict(
|
||||||
name='zulip_bots',
|
name='zulip_bots',
|
||||||
version=ZULIP_BOTS_VERSION,
|
version=ZULIP_BOTS_VERSION,
|
||||||
description='Zulip\'s Bot framework',
|
description='Zulip\'s Bot framework',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author='Zulip Open Source Project',
|
author='Zulip Open Source Project',
|
||||||
author_email='zulip-devel@googlegroups.com',
|
author_email='zulip-devel@googlegroups.com',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
@ -7,11 +7,16 @@ if False:
|
||||||
|
|
||||||
ZULIP_BOTSERVER_VERSION = "0.6.4"
|
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.
|
# We should be installable with either setuptools or distutils.
|
||||||
package_info = dict(
|
package_info = dict(
|
||||||
name='zulip_botserver',
|
name='zulip_botserver',
|
||||||
version=ZULIP_BOTSERVER_VERSION,
|
version=ZULIP_BOTSERVER_VERSION,
|
||||||
description='Zulip\'s Flask server for running bots',
|
description='Zulip\'s Flask server for running bots',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
author='Zulip Open Source Project',
|
author='Zulip Open Source Project',
|
||||||
author_email='zulip-devel@googlegroups.com',
|
author_email='zulip-devel@googlegroups.com',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
Loading…
Reference in a new issue