From 723479f6d5e570c96a7352dbbed4c133e2d4b6d0 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:03:58 -0400 Subject: [PATCH 1/7] setup.cfg: Not a universal distribution. We cannot distribute this as a universal wheel since the dependencies differ between Python 2 and Python 3. Also removed the nose section since we don't have no stinking tests. --- setup.cfg | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index c9c185c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,7 +0,0 @@ -[bdist_wheel] -universal = 1 - -[nosetests] -with-coverage = 1 -cover-erase = 1 -cover-package = sprockets.mixins.amqp From b852a5f58f802ff8e91d9935f417cb283c93dc1c Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:07:31 -0400 Subject: [PATCH 2/7] requirements: Remove testing.txt No tests, no requirements. --- requires/testing.txt | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 requires/testing.txt diff --git a/requires/testing.txt b/requires/testing.txt deleted file mode 100644 index 6ebc0ca..0000000 --- a/requires/testing.txt +++ /dev/null @@ -1,4 +0,0 @@ -coverage>=3.7,<4 -nose>=1.3.1,<2.0.0 -wheel --r installation.txt From 6132f11d70f5b0a694d9b36caa2fc23561fb7722 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:07:48 -0400 Subject: [PATCH 3/7] Adjust development status -> beta. --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 7b304fa..38ac20c 100644 --- a/setup.py +++ b/setup.py @@ -17,8 +17,10 @@ setuptools.setup( author_email='api@aweber.com', license='BSD', classifiers=[ - 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', 'Natural Language :: English', + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', @@ -26,7 +28,6 @@ setuptools.setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules' ], From 5cad25c511923d431ca582ea85411c95348fc6f3 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:08:35 -0400 Subject: [PATCH 4/7] Bump version to 1.0.1. --- setup.py | 2 +- sprockets/mixins/avro_publisher/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 38ac20c..d8e2c0f 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ with open(requires) as handle: setuptools.setup( name='sprockets.mixins.avro-publisher', - version='1.0.0', + version='1.0.1', description='Mixin for publishing events to RabbitMQ as avro datums', long_description=open('README.rst').read(), url='https://github.com/sprockets/sprockets.mixins.avro-publisher', diff --git a/sprockets/mixins/avro_publisher/__init__.py b/sprockets/mixins/avro_publisher/__init__.py index bbd204d..003bbd4 100644 --- a/sprockets/mixins/avro_publisher/__init__.py +++ b/sprockets/mixins/avro_publisher/__init__.py @@ -28,7 +28,7 @@ from tornado import httpclient import avro.io import avro.schema -version_info = (1, 0, 0) +version_info = (1, 0, 1) __version__ = '.'.join(str(v) for v in version_info) LOGGER = logging.getLogger(__name__) From 3b6703230bf6b6395a18c46c5a7f906d375c198b Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:08:49 -0400 Subject: [PATCH 5/7] Add travis-ci --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4b294c2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: python +python: +- '3.4' +script: '' +deploy: + provider: pypi + user: sprockets + password: + secure: TPpdlEbbxfjcFXR7KizRNiwqZDdB8C8/y0zE/nbFvlds1ZfdqRwCZJlvgsVwhUfiMrUfKiZ3sg1kSI6wN0Li8Z4DVe8RPyhnOXjml6DDao4iZ569LYEfqMdfWrp6NcN/+sMOpGlq5XuQMcdsy3P9uP8WGOUzRwjuQ0ny+2BN8yxD3TxY+TqgYo3FaCYwR0bp5u8l1pmX9gIbD8DhcbbC7EyO+/t8IZj4x5TxIQamIvhWyd8LIFpvR1FcCKRPbqu2x2fPZG4t6YwBHbcmLf8VnZx5xFGvOKEP9HaN4YkWtSIHQ/RhCuFslSPg4peHK3xgurDKMsXdvxnsV2AgSQBEQEaWt6ewACbM4nyW09K++LKK0F19U6keSzYgLZZK+Twsn02xhNpQf58k5kuAB0pJNm+EFxymUcJjR5g9gnVE2ln/Y3MkU1YhXRJGvo0hwdcytkDaPitIASuPC9buy/UQ8smzYPfA60PAF9Dl0/gq8lIWteq3u6PJQT+qtSobWwhR/nFYqTWDMk1sZu4sHVe1IPhSnJonlWccPe/AcS6qG8QNUt5n4fC1l5rerfsiplo+aSLH8gb6p5eiueBAXGwH/akZa6nb9hs1gFFZicHlCzMXlvA845qiLBHbj1ABNJri8jnRvtNxNcYdqBu73lkhExIHlsIG8sgRw93bN1ys73A= + on: + tags: true + python: 3.4 + all_branches: true From a08d3cfc33bcb0bb8919d7d82f8f20bc1ce7db18 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:12:11 -0400 Subject: [PATCH 6/7] Remove print statement. --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index d8e2c0f..31a6453 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,6 @@ import setuptools import sys requires = 'requires/python{0}.txt'.format(sys.version_info[0]) -print(requires) with open(requires) as handle: requirements = [line.strip() for line in handle.readlines()] From 50d4cada87bcc8909a92ad007981bab9b12a0704 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Tue, 9 Aug 2016 15:21:27 -0400 Subject: [PATCH 7/7] Add `pip install -e' to appease travis. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4b294c2..63db33b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: python python: - '3.4' +install: +- pip install -e . script: '' deploy: provider: pypi