1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
from setuptools import setup, find_packages
import sys
version = '0.13.1'
install_requires = [
'WebOb',
'Tempita',
'Pygments',
'Paste>=1.7.1',
]
if sys.version_info[:2] < (2, 6):
install_requires.append('simplejson')
README = open('README.rst').read()
CHANGELOG = open('CHANGELOG').read()
setup(name='WebError',
version=version,
description="Web Error handling and exception catching",
long_description=README + '\n\n' + CHANGELOG,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
],
keywords='wsgi',
author='Ben Bangert, Ian Bicking, Mark Ramm',
author_email='invalid@invalid.com',
url='https://bitbucket.org/bbangert/weberror',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
package_data={'weberror.evalexception': ["*.html.tmpl", "media/*"]},
zip_safe=False,
install_requires=install_requires,
test_suite='nose.collector',
tests_require=['nose', 'webtest', 'Paste'],
entry_points="""
[paste.filter_app_factory]
main = weberror.evalexception:make_general_exception
error_catcher = weberror.errormiddleware:make_error_middleware
evalerror = weberror.evalexception:make_eval_exception
""",
)
|