summaryrefslogtreecommitdiff
path: root/setup.py
blob: faf7a45fb0dc168ef7b08aa4213228b67a3fd0e0 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# If true, then the svn revision won't be used to calculate the
# revision (set to True for real releases)
RELEASE = False

__version__ = "0.0"

from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages

setup(name="Paste",
      version=__version__,
      description="Tools for using a Web Server Gateway Interface stack",
      long_description="""\
These provide several pieces of "middleware" that can be nested to build
web applications.  Each piece of middleware uses the WSGI (`PEP 333`_)
interface, and should be compatible with other middleware based on those
interfaces.

.. _PEP 333: http://www.python.org/peps/pep-0333.html

As an example (and a working implementation), a version Webware
(http://webwareforpython.org) is included, built from these tools with
wrappers to provide the Webware API on top of the middleware
functionality.
""",
      classifiers=["Development Status :: 3 - Alpha",
                   "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",
                   ],
      keywords='web wsgi application server webware wareweb',
      author="Ian Bicking",
      author_email="ianb@colorstudy.com",
      url="http://pythonpaste.org",
      license="MIT",
      packages=find_packages(exclude=['ez_setup', 'examples', 'packages']),
      download_url="",
      package_data={'': ['*.txt', '*.html', '*.conf'],
                    'paste.app_templates': ['*.*_tmpl'],
                    },
      zip_safe=False,
      entry_points={
        'paste.app_factory': """
        cgi=paste.cgiapp:CGIApplication
        pycgi=paste.pycgiwrapper:CGIWrapper
        """,
        'paste.composit_factory': """
        urlmap=paste.urlmap:urlmap_factory
        cascade=paste.cascade:make_cascade
        """,
        'paste.filter_app_factory': """
        error_catcher=paste.exceptions.errormiddleware:ErrorMiddleware
        cgitb=paste.cgitb_catcher:CgitbMiddleware
        flup_session=paste.flup_session:SessionMiddleware
        gzip=paste.gzipper:middleware
        httpexceptions=paste.httpexceptions:middleware
        lint=paste.lint:middleware
        login=paste.login:middleware
        printdebug=paste.printdebug:PrintDebugMiddleware
        profile=paste.profilemiddleware:ProfileMiddleware
        recursive=paste.recursive:RecursiveMiddleware
        # This isn't good enough to deserve the name egg:Paste#session:
        paste_session=paste.session:SessionMiddleware
        wdg_validate=paste.wdg_validate:WDGValidateMiddleware
        """,
        },
      )

# Send announce to:
#   web-sig@python.org
#   python-announce@python.org
#   python-list@python.org