diff options
author | David Arthur <mumrah@gmail.com> | 2013-06-07 21:21:03 -0400 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2013-06-07 21:24:53 -0400 |
commit | 40506c2830afb329e2fd116e1c8b1111d7c2a769 (patch) | |
tree | ec967961709912c5b78b41f294d67c486d46351b /setup.py | |
parent | 6704050e50a2934806e349ac875f2ab31ccfcd9d (diff) | |
parent | dd109e2d6a31f47882856efecb40cbea31cc221b (diff) | |
download | kafka-python-40506c2830afb329e2fd116e1c8b1111d7c2a769.tar.gz |
Merge branch 'issue-28'
Closes #28
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 34 |
1 files changed, 31 insertions, 3 deletions
@@ -1,13 +1,41 @@ -from distutils.core import setup +import os.path +import sys + +from setuptools import setup, Command + + +class Tox(Command): + user_options = [] + def initialize_options(self): + pass + + def finalize_options(self): + pass + + def run(self): + import tox + sys.exit(tox.cmdline([])) + setup( name="kafka-python", version="0.8.1-1", + + install_requires=["distribute", "tox"], + tests_require=["tox"], + cmdclass={"test": Tox}, + + packages=["kafka"], + author="David Arthur", author_email="mumrah@gmail.com", url="https://github.com/mumrah/kafka-python", - packages=["kafka"], license="Copyright 2012, David Arthur under Apache License, v2.0", description="Pure Python client for Apache Kafka", - long_description=open("README.md").read(), + 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. +""" ) |