Add TravisCI config for auto deployment
Tags applied to master will now be automatically deployed on PyPI
This commit is contained in:
17
.travis.yml
17
.travis.yml
@@ -22,10 +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`
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /^release-.*$/
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
12
setup.py
12
setup.py
@@ -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"
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user