2014-08-19 20:54:17 +00:00
|
|
|
from setuptools import setup
|
|
|
|
import sys
|
2014-08-19 16:47:24 +00:00
|
|
|
|
2014-08-19 20:54:17 +00:00
|
|
|
requirements = []
|
2014-08-29 13:52:01 +00:00
|
|
|
tests_require = ['coverage', 'coveralls', 'nose']
|
2014-08-19 16:47:24 +00:00
|
|
|
|
|
|
|
# Requirements for Python 2.6
|
2014-08-29 13:52:01 +00:00
|
|
|
if sys.version_info < (2, 7):
|
2014-08-19 16:47:24 +00:00
|
|
|
requirements.append('argparse')
|
2014-08-19 20:54:17 +00:00
|
|
|
requirements.append('importlib')
|
2014-08-19 16:47:24 +00:00
|
|
|
requirements.append('logutils')
|
|
|
|
tests_require.append('unittest2')
|
2014-08-29 13:52:01 +00:00
|
|
|
if sys.version_info < (3, 0):
|
|
|
|
tests_require.append('mock')
|
|
|
|
|
2014-08-19 16:47:24 +00:00
|
|
|
|
|
|
|
setup(name='sprockets',
|
2014-08-29 13:56:17 +00:00
|
|
|
version='0.1.1',
|
2014-08-19 16:47:24 +00:00
|
|
|
description=('A modular, loosely coupled micro-framework built on top '
|
|
|
|
'of Tornado simplifying the creation of web applications '
|
|
|
|
'and RabbitMQ workers'),
|
2014-08-19 20:54:17 +00:00
|
|
|
entry_points={'console_scripts': ['sprockets=sprockets.cli:main']},
|
2014-08-19 17:21:51 +00:00
|
|
|
author='AWeber Communications',
|
2014-08-19 16:47:24 +00:00
|
|
|
url='https://github.com/sprockets/sprockets',
|
|
|
|
install_requires=requirements,
|
|
|
|
license=open('LICENSE').read(),
|
2014-08-29 13:52:01 +00:00
|
|
|
namespace_packages=['sprockets'],
|
2014-08-25 14:58:22 +00:00
|
|
|
package_data={'': ['LICENSE', 'README.rst']},
|
2014-08-19 16:47:24 +00:00
|
|
|
packages=['sprockets'],
|
2014-08-29 13:52:01 +00:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Environment :: No Input/Output (Daemon)',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: BSD License',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
'Programming Language :: Python :: 2.6',
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.2',
|
|
|
|
'Programming Language :: Python :: 3.3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
|
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
|
|
],
|
2014-08-19 16:47:24 +00:00
|
|
|
test_suite='nose.collector',
|
|
|
|
tests_require=tests_require,
|
2014-08-22 18:52:52 +00:00
|
|
|
zip_safe=False)
|