diff options
author | Dana Powers <dana.powers@gmail.com> | 2015-02-10 16:21:23 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2015-02-10 16:21:23 -0800 |
commit | 2a12fed46fa91f3a7f671cf35a9a4660366e5289 (patch) | |
tree | ebe767f046fa4d7d4150b2477ed4a7d6b80bdd14 | |
parent | b74e8dd4657802ef1a3fd069b84bfd1e69a127f2 (diff) | |
parent | 96bc453da96287915a25989ac525c8c8f10b5b99 (diff) | |
download | kafka-python-2a12fed46fa91f3a7f671cf35a9a4660366e5289.tar.gz |
Merge pull request #321 from sontek/switch_to_rst
Switch to rst and use in setup.py
-rw-r--r-- | README.md | 40 | ||||
-rw-r--r-- | README.rst | 53 | ||||
-rw-r--r-- | setup.py | 18 |
3 files changed, 63 insertions, 48 deletions
diff --git a/README.md b/README.md deleted file mode 100644 index 2bf1965..0000000 --- a/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# Kafka Python client - -[](https://travis-ci.org/mumrah/kafka-python) -[](https://coveralls.io/r/mumrah/kafka-python?branch=master) -[](https://readthedocs.org/projects/kafka-python/?badge=latest) - -[Full documentation available on ReadTheDocs](http://kafka-python.readthedocs.org/en/latest/) - -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. - -http://kafka.apache.org/ - -On Freenode IRC at #kafka-python, as well as #apache-kafka - -For general discussion of kafka-client design and implementation (not python specific), -see https://groups.google.com/forum/#!forum/kafka-clients - -# License - -Copyright 2015, David Arthur under Apache License, v2.0. See `LICENSE` - -# Status - -The current stable version of this package is [**0.9.3**](https://github.com/mumrah/kafka-python/releases/tag/v0.9.3) and is compatible with - -Kafka broker versions -- 0.8.2.0 [offset management currently ZK only -- does not support ConsumerCoordinator offset management APIs] -- 0.8.1.1 -- 0.8.1 -- 0.8.0 - -Python versions -- 2.6 (tested on 2.6.9) -- 2.7 (tested on 2.7.9) -- 3.3 (tested on 3.3.5) -- 3.4 (tested on 3.4.2) -- pypy (tested on pypy 2.4.0 / python 2.7.8) diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..5405f92 --- /dev/null +++ b/README.rst @@ -0,0 +1,53 @@ +Kafka Python client +------------------------ +.. image:: https://api.travis-ci.org/mumrah/kafka-python.png?branch=master + :target: https://travis-ci.org/mumrah/kafka-python + :alt: Build Status + +.. image:: https://coveralls.io/repos/mumrah/kafka-python/badge.svg?branch=master + :target: https://coveralls.io/r/mumrah/kafka-python?branch=master + :alt: Coverage Status + +.. image:: https://readthedocs.org/projects/kafka-python/badge/?version=latest + :target: http://kafka-python.readthedocs.org/en/latest/ + :alt: Full documentation available on ReadTheDocs + +`Full documentation available on ReadTheDocs`_ + +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. + +http://kafka.apache.org/ + +On Freenode IRC at #kafka-python, as well as #apache-kafka + +For general discussion of kafka-client design and implementation (not python specific), +see https://groups.google.com/forum/#!forum/kafka-clients + +License +---------- +Copyright 2015, David Arthur under Apache License, v2.0. See `LICENSE` + +Status +---------- +The current stable version of this package is `0.9.3`_ and is compatible with: + +Kafka broker versions + +- 0.8.2.0 [offset management currently ZK only -- does not support ConsumerCoordinator offset management APIs] +- 0.8.1.1 +- 0.8.1 +- 0.8.0 + +Python versions + +- 2.6 (tested on 2.6.9) +- 2.7 (tested on 2.7.9) +- 3.3 (tested on 3.3.5) +- 3.4 (tested on 3.4.2) +- pypy (tested on pypy 2.4.0 / python 2.7.8) + +.. _Full documentation available on ReadTheDocs: http://kafka-python.readthedocs.org/en/latest/ +.. _0.9.3: https://github.com/mumrah/kafka-python/releases/tag/v0.9.3 @@ -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", @@ -62,6 +61,9 @@ is also supported for message sets. "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", ] |