Merge pull request #3 from dave-shawley/fix-build

Fix build
This commit is contained in:
Ryan Mclean 2016-08-09 15:49:28 -04:00 committed by GitHub
commit 2e0a43123a
5 changed files with 21 additions and 17 deletions

15
.travis.yml Normal file
View file

@ -0,0 +1,15 @@
language: python
python:
- '3.4'
install:
- pip install -e .
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

View file

@ -1,4 +0,0 @@
coverage>=3.7,<4
nose>=1.3.1,<2.0.0
wheel
-r installation.txt

View file

@ -1,7 +0,0 @@
[bdist_wheel]
universal = 1
[nosetests]
with-coverage = 1
cover-erase = 1
cover-package = sprockets.mixins.amqp

View file

@ -2,14 +2,13 @@ import setuptools
import sys import sys
requires = 'requires/python{0}.txt'.format(sys.version_info[0]) requires = 'requires/python{0}.txt'.format(sys.version_info[0])
print(requires)
with open(requires) as handle: with open(requires) as handle:
requirements = [line.strip() for line in handle.readlines()] requirements = [line.strip() for line in handle.readlines()]
setuptools.setup( setuptools.setup(
name='sprockets.mixins.avro-publisher', name='sprockets.mixins.avro-publisher',
version='1.0.0', version='1.0.1',
description='Mixin for publishing events to RabbitMQ as avro datums', description='Mixin for publishing events to RabbitMQ as avro datums',
long_description=open('README.rst').read(), long_description=open('README.rst').read(),
url='https://github.com/sprockets/sprockets.mixins.avro-publisher', url='https://github.com/sprockets/sprockets.mixins.avro-publisher',
@ -17,8 +16,10 @@ setuptools.setup(
author_email='api@aweber.com', author_email='api@aweber.com',
license='BSD', license='BSD',
classifiers=[ classifiers=[
'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
@ -26,7 +27,6 @@ setuptools.setup(
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules' 'Topic :: Software Development :: Libraries :: Python Modules'
], ],

View file

@ -28,7 +28,7 @@ from tornado import httpclient
import avro.io import avro.io
import avro.schema import avro.schema
version_info = (1, 0, 0) version_info = (1, 0, 1)
__version__ = '.'.join(str(v) for v in version_info) __version__ = '.'.join(str(v) for v in version_info)
LOGGER = logging.getLogger(__name__) LOGGER = logging.getLogger(__name__)