mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 19:29:28 +00:00
5a78150126
The entry point is used to register the module as a sprockets controller. - Simplify the python 2.7 check - Fix the MANIFEST.in format - Add stub sprockets.http methods
46 lines
2 KiB
Python
46 lines
2 KiB
Python
from setuptools import setup
|
|
import os
|
|
import sys
|
|
|
|
requirements = ['sprockets']
|
|
tests_require = ['coverage', 'coveralls', 'mock', 'nose']
|
|
|
|
# Requirements for Python 2.6
|
|
version = sys.version_info
|
|
if (version.major, version.minor) < (2, 7):
|
|
tests_require.append('unittest2')
|
|
|
|
|
|
setup(name='sprockets.http',
|
|
version='0.1.0',
|
|
description=('HTTP Server / Web application controller'),
|
|
author='AWeber Communications',
|
|
url='https://github.com/sprockets/sprockets.http',
|
|
entry_points={'sprockets.controller': ['http=sprockets.http']},
|
|
install_requires=requirements,
|
|
license=open('LICENSE').read(),
|
|
namespace_packages=['sprockets'],
|
|
package_data={'': ['LICENSE', 'README.md']},
|
|
packages=['sprockets.http'],
|
|
classifiers=['Development Status :: 3 - Alpha',
|
|
'Environment :: No Input/Output (Daemon)',
|
|
'Framework :: Tornado',
|
|
'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'],
|
|
test_suite='nose.collector',
|
|
tests_require=tests_require,
|
|
zip_safe=True)
|