| import os |
| |
| from setuptools import setup |
| |
| here = os.path.abspath(os.path.dirname(__file__)) |
| try: |
| with open(os.path.join(here, 'README.rst')) as f: |
| README = f.read() |
| with open(os.path.join(here, 'CHANGES.txt')) as f: |
| CHANGES = f.read() |
| except IOError: |
| README = CHANGES = '' |
| |
| testing_extras = [ |
| 'nose', |
| 'coverage', |
| ] |
| |
| docs_extras = [ |
| 'Sphinx >= 1.3.1', |
| 'pylons-sphinx-themes', |
| ] |
| |
| setup( |
| name='WebOb', |
| version='1.6.0', |
| description="WSGI request and response object", |
| long_description=README + '\n\n' + CHANGES, |
| classifiers=[ |
| "Development Status :: 6 - Mature", |
| "Intended Audience :: Developers", |
| "License :: OSI Approved :: MIT License", |
| "Topic :: Internet :: WWW/HTTP :: WSGI", |
| "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", |
| "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", |
| "Programming Language :: Python :: 2.6", |
| "Programming Language :: Python :: 2.7", |
| "Programming Language :: Python :: 3.3", |
| "Programming Language :: Python :: 3.4", |
| "Programming Language :: Python :: 3.5", |
| "Programming Language :: Python :: Implementation :: CPython", |
| "Programming Language :: Python :: Implementation :: PyPy", |
| ], |
| keywords='wsgi request web http', |
| author='Ian Bicking', |
| author_email='ianb@colorstudy.com', |
| maintainer='Pylons Project', |
| url='http://webob.org/', |
| license='MIT', |
| packages=['webob'], |
| zip_safe=True, |
| test_suite='nose.collector', |
| tests_require=['nose'], |
| extras_require={ |
| 'testing': testing_extras, |
| 'docs': docs_extras, |
| }, |
| ) |