diff options
author | John Anderson <sontek@gmail.com> | 2015-02-10 11:26:56 -0800 |
---|---|---|
committer | John Anderson <sontek@gmail.com> | 2015-02-10 11:26:56 -0800 |
commit | 3193d64e70c91d3cad64b0cec1b180a7a1c67ed0 (patch) | |
tree | 2fb0a4f0c442cd32b5ed3473c5969a8a776473ad /setup.py | |
parent | b74e8dd4657802ef1a3fd069b84bfd1e69a127f2 (diff) | |
download | kafka-python-3193d64e70c91d3cad64b0cec1b180a7a1c67ed0.tar.gz |
Move to .rst and use it in setup.py for long description
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,5 +1,5 @@ import sys - +import os from setuptools import setup, Command with open('VERSION', 'r') as v: @@ -26,6 +26,10 @@ test_require = ['tox', 'mock'] if sys.version_info < (2, 7): test_require.append('unittest2') +here = os.path.abspath(os.path.dirname(__file__)) + +with open(os.path.join(here, 'README.rst')) as f: + README = f.read() setup( name="kafka-python", @@ -46,15 +50,10 @@ setup( url="https://github.com/mumrah/kafka-python", license="Apache License 2.0", description="Pure Python client for Apache Kafka", - long_description=""" -This module provides low-level protocol support for Apache Kafka as well as -high-level consumer and producer classes. Request batching is supported by the -protocol as well as broker-aware request routing. Gzip and Snappy compression -is also supported for message sets. -""", + long_description=README, keywords="apache kafka", install_requires=['six'], - classifiers = [ + classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", |