2015-09-24 18:29:18 +00:00
|
|
|
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()]
|
|
|
|
|
|
|
|
|
|
|
|
setuptools.setup(
|
2015-09-24 19:01:10 +00:00
|
|
|
name='sprockets.mixins.avro-publisher',
|
2015-09-28 15:33:11 +00:00
|
|
|
version='0.1.1',
|
2015-09-24 18:29:18 +00:00
|
|
|
description='Mixin for publishing events to RabbitMQ as avro datums',
|
|
|
|
long_description=open('README.rst').read(),
|
2015-09-24 19:10:21 +00:00
|
|
|
url='https://github.com/sprockets/sprockets.mixins.avro-publisher',
|
2015-09-24 18:29:18 +00:00
|
|
|
author='AWeber Communications, Inc.',
|
|
|
|
author_email='api@aweber.com',
|
|
|
|
license='BSD',
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha', 'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: BSD License', 'Natural Language :: English',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'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'
|
|
|
|
],
|
2015-09-28 15:33:11 +00:00
|
|
|
packages=setuptools.find_packages(),
|
2015-09-24 18:29:18 +00:00
|
|
|
namespace_packages=['sprockets', 'sprockets.mixins'],
|
|
|
|
install_requires=requirements,
|
|
|
|
zip_safe=True)
|