diff options
| author | Christian Clauss <cclauss@me.com> | 2020-03-02 13:08:30 +0100 |
|---|---|---|
| committer | Asif Saif Uddin <auvipy@gmail.com> | 2020-03-03 20:14:16 +0600 |
| commit | bfca209752c25ee2a6970041bf392ae920af6ee1 (patch) | |
| tree | 0f4f52f6cb6e3cd06dde122b0d04130dcc715edf | |
| parent | cca00b1c9df69a6eeb22ac4354f93bad0c6f9070 (diff) | |
| download | kombu-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.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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'], |
