This is basic flake8 testing without any 'hacking' extensions. We may wish to add those later, but for the time being this code is so much of its own particular style that that would be painful. In any case, the hacking rules aren't that great. In the process some documentation adjustments were made while fixing line lenghts. A dead link was removed.
53 lines
1.4 KiB
Python
53 lines
1.4 KiB
Python
import wsgi_intercept
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
CLASSIFIERS = """
|
|
Environment :: Web Environment
|
|
Intended Audience :: Developers
|
|
License :: OSI Approved :: MIT License
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.3
|
|
Programming Language :: Python :: 3.4
|
|
Programming Language :: Python :: 3.5
|
|
Topic :: Internet :: WWW/HTTP :: WSGI
|
|
Topic :: Software Development :: Testing
|
|
""".strip().splitlines()
|
|
|
|
|
|
META = {
|
|
'name': 'wsgi_intercept',
|
|
'version': wsgi_intercept.__version__,
|
|
'author': 'Titus Brown, Kumar McMillan, Chris Dent, Sasha Hart',
|
|
'author_email': 'cdent@peermore.com',
|
|
'description':
|
|
'wsgi_intercept installs a WSGI application in place of a '
|
|
'real URI for testing.',
|
|
# What will the name be?
|
|
'url': 'http://pypi.python.org/pypi/wsgi_intercept',
|
|
'long_description': wsgi_intercept.__doc__,
|
|
'license': 'MIT License',
|
|
'classifiers': CLASSIFIERS,
|
|
'packages': find_packages(),
|
|
'install_requires': [
|
|
'six',
|
|
],
|
|
'extras_require': {
|
|
'testing': [
|
|
'pytest>=2.4',
|
|
'httplib2',
|
|
'requests>=2.0.1',
|
|
'urllib3>=1.11.0',
|
|
],
|
|
'docs': [
|
|
'sphinx',
|
|
],
|
|
},
|
|
}
|
|
|
|
if __name__ == '__main__':
|
|
setup(**META)
|