0
|
1 from setuptools import setup, find_packages
|
|
2 import sys, os
|
|
3
|
|
4 version = "0.1"
|
|
5
|
|
6 setup(name='redirector',
|
|
7 version=version,
|
|
8 description="WSGI middleware/app for managing redirects",
|
|
9 long_description="""
|
|
10 """,
|
|
11 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
|
12 author='Jeff Hammel',
|
|
13 author_email='jhammel@openplans.org',
|
|
14 url='http://k0s.org',
|
|
15 license="",
|
|
16 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
|
|
17 include_package_data=True,
|
|
18 zip_safe=False,
|
|
19 install_requires=[
|
|
20 # -*- Extra requirements: -*-
|
|
21 'WebOb',
|
|
22 'Paste',
|
|
23 'PasteScript',
|
|
24 'genshi',
|
|
25 'python-dateutil',
|
|
26
|
|
27 ],
|
|
28 entry_points="""
|
|
29 # -*- Entry points: -*-
|
|
30 [paste.app_factory]
|
|
31 main = redirector.factory:factory
|
|
32
|
|
33 [redirector.redirectors]
|
|
34 test-redirector = redirector.redirectors:TestRedirector
|
|
35 ini-redirector = redirector.redirectors:IniRedirector
|
|
36 """,
|
|
37 )
|
|
38
|