11import sys
2-
2+ import os
33from setuptools import setup , Command
44
55with open ('VERSION' , 'r' ) as v :
@@ -26,6 +26,10 @@ def run(cls):
2626if sys .version_info < (2 , 7 ):
2727 test_require .append ('unittest2' )
2828
29+ here = os .path .abspath (os .path .dirname (__file__ ))
30+
31+ with open (os .path .join (here , 'README.rst' )) as f :
32+ README = f .read ()
2933
3034setup (
3135 name = "kafka-python" ,
@@ -46,22 +50,20 @@ def run(cls):
4650 url = "https://github.com/mumrah/kafka-python" ,
4751 license = "Apache License 2.0" ,
4852 description = "Pure Python client for Apache Kafka" ,
49- long_description = """
50- This module provides low-level protocol support for Apache Kafka as well as
51- high-level consumer and producer classes. Request batching is supported by the
52- protocol as well as broker-aware request routing. Gzip and Snappy compression
53- is also supported for message sets.
54- """ ,
53+ long_description = README ,
5554 keywords = "apache kafka" ,
5655 install_requires = ['six' ],
57- classifiers = [
56+ classifiers = [
5857 "Development Status :: 4 - Beta" ,
5958 "Intended Audience :: Developers" ,
6059 "License :: OSI Approved :: Apache Software License" ,
6160 "Programming Language :: Python" ,
6261 "Programming Language :: Python :: 2" ,
6362 "Programming Language :: Python :: 2.6" ,
6463 "Programming Language :: Python :: 2.7" ,
64+ "Programming Language :: Python :: 3" ,
65+ "Programming Language :: Python :: 3.3" ,
66+ "Programming Language :: Python :: 3.4" ,
6567 "Programming Language :: Python :: Implementation :: PyPy" ,
6668 "Topic :: Software Development :: Libraries :: Python Modules" ,
6769 ]
0 commit comments