summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-03-02 13:08:30 +0100
committerAsif Saif Uddin <auvipy@gmail.com>2020-03-03 20:14:16 +0600
commitbfca209752c25ee2a6970041bf392ae920af6ee1 (patch)
tree0f4f52f6cb6e3cd06dde122b0d04130dcc715edf
parentcca00b1c9df69a6eeb22ac4354f93bad0c6f9070 (diff)
downloadkombu-bfca209752c25ee2a6970041bf392ae920af6ee1.tar.gz
Use README.rst content as the PyPI long_description
Use the ideas in https://python-packaging.readthedocs.io/en/latest/metadata.html to replace the __long_description__ at https://pypi.org/project/kombu with something cooler than `The author of this package has not provided a project description`.
-rw-r--r--setup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index b73dc305..18e3772d 100644
--- a/setup.py
+++ b/setup.py
@@ -100,12 +100,17 @@ class pytest(setuptools.command.test.test):
sys.exit(pytest.main(self.pytest_args))
+def readme():
+ with open('README.rst') as f:
+ return f.read()
+
+
setup(
name='kombu',
packages=setuptools.find_packages(exclude=['t', 't.*']),
version=meta['version'],
description=meta['doc'],
- # long_description=long_description,
+ long_description=readme(),
keywords='messaging message amqp rabbitmq redis actor producer consumer',
author=meta['author'],
author_email=meta['contact'],