diff options
-rw-r--r-- | .travis.yml | 12 | ||||
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | README.md | 25 | ||||
-rw-r--r-- | kafka/__init__.py | 2 | ||||
-rw-r--r-- | setup.py | 12 |
5 files changed, 41 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 22b03a3..8eaaad6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,5 +22,17 @@ install: # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm +deploy: + provider: pypi + server: https://pypi.python.org/pypi + user: mumrah + password: + secure: TIZNKxktOm42/LHLDCuKuPqmAfYKekyHL4MqEFpnqDI5T5sHzG9IQaOwppYfQNggHiILUBzk1j6w/FPJunJyd62AFtydkKtIccqENIIAio78afeCRMQDynstNXjDefmt0s90xLGSlLzDMxCEWB4F6frEtPl/8KpNSFB2fvj+HXY= + on: + tags: true + all_branches: true + # TODO replace all_branches with "branch: master" after https://github.com/travis-ci/travis-ci/issues/1675 is fixed + # branch: master + script: - tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2013 David Arthur + Copyright 2014 David Arthur Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -1,6 +1,6 @@ # Kafka Python client -[](https://travis-ci.org/mumrah/kafka-python) +[](https://travis-ci.org/mumrah/kafka-python) 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 @@ -9,9 +9,11 @@ is also supported for message sets. http://kafka.apache.org/ +On Freenode at #kafka-python, as well as #apache-kafka + # License -Copyright 2013, David Arthur under Apache License, v2.0. See `LICENSE` +Copyright 2014, David Arthur under Apache License, v2.0. See `LICENSE` # Status @@ -160,9 +162,20 @@ python setup.py install ## Optional Snappy install +### Install Development Libraries Download and build Snappy from http://code.google.com/p/snappy/downloads/list -Linux: +Ubuntu: +```shell +apt-get install libsnappy-dev +``` + +OSX: +```shell +brew install snappy +``` + +From Source: ```shell wget http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz tar xzvf snappy-1.0.5.tar.gz @@ -172,11 +185,7 @@ make sudo make install ``` -OSX: -```shell -brew install snappy -``` - +### Install Python Module Install the `python-snappy` module ```shell pip install python-snappy diff --git a/kafka/__init__.py b/kafka/__init__.py index 41dc25a..58ca619 100644 --- a/kafka/__init__.py +++ b/kafka/__init__.py @@ -4,7 +4,7 @@ import pkg_resources __version__ = pkg_resources.require('kafka-python')[0].version __author__ = 'David Arthur' __license__ = 'Apache License 2.0' -__copyright__ = 'Copyright 2012, David Arthur under Apache License, v2.0' +__copyright__ = 'Copyright 2014, David Arthur under Apache License, v2.0' from kafka.client import KafkaClient from kafka.conn import KafkaConnection @@ -32,12 +32,20 @@ setup( author="David Arthur", author_email="mumrah@gmail.com", url="https://github.com/mumrah/kafka-python", - license="Copyright 2012, David Arthur under Apache License, v2.0", + 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. -""" +""", + keywords="apache kafka", + classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python", + "Topic :: Software Development :: Libraries :: Python Modules" + ] ) |