00001
00002
00003 import sys
00004
00005 from setuptools import setup
00006 from setuptools import find_packages
00007
00008 version = '2.0.18'
00009
00010 install_requires = [
00011 'six',
00012 'WebOb>=1.2',
00013 'waitress>=0.8.5',
00014 'beautifulsoup4',
00015 ]
00016
00017 tests_require = [
00018 'nose<1.3.0', 'coverage', 'mock',
00019 'PasteDeploy', 'WSGIProxy2', 'pyquery'
00020 ]
00021
00022 if sys.version_info[0:2] < (2, 7):
00023 install_requires.append('ordereddict')
00024 tests_require.append('unittest2')
00025
00026
00027 setup(name='WebTest',
00028 version=version,
00029 description="Helper to test WSGI applications",
00030 long_description=open('README.rst').read(),
00031 classifiers=[
00032 "Development Status :: 5 - Production/Stable",
00033 "Framework :: Paste",
00034 "Intended Audience :: Developers",
00035 "License :: OSI Approved :: MIT License",
00036 "Topic :: Internet :: WWW/HTTP :: WSGI",
00037 "Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
00038 "Programming Language :: Python :: 2",
00039 "Programming Language :: Python :: 2.6",
00040 "Programming Language :: Python :: 2.7",
00041 "Programming Language :: Python :: 3",
00042 "Programming Language :: Python :: 3.2",
00043 "Programming Language :: Python :: 3.3",
00044 ],
00045 keywords='wsgi test unit tests web',
00046 author='Ian Bicking',
00047 author_email='ianb at colorstudy com',
00048 maintainer='Gael Pasgrimaud',
00049 maintainer_email='gael@gawel.org',
00050 url='http://webtest.pythonpaste.org/',
00051 license='MIT',
00052 packages=find_packages(exclude=[
00053 'ez_setup',
00054 'examples',
00055 'tests',
00056 'bootstrap',
00057 'bootstrap-py3k',
00058 ]),
00059 include_package_data=True,
00060 zip_safe=False,
00061 install_requires=install_requires,
00062 test_suite='nose.collector',
00063 tests_require=tests_require,
00064 extras_require={
00065 'tests': tests_require,
00066 },
00067 entry_points="""
00068 [paste.app_factory]
00069 debug = webtest.debugapp:make_debug_app
00070 """,
00071 )