| 0 | 1 from setuptools import setup, find_packages | 
|  | 2 import sys, os | 
|  | 3 | 
|  | 4 try: | 
|  | 5     description = file('README.txt').read() | 
|  | 6 except IOError: | 
|  | 7     description = '' | 
|  | 8 | 
|  | 9 version = "0.0" | 
|  | 10 | 
|  | 11 setup(name='redirectall', | 
|  | 12       version=version, | 
|  | 13       description="redirect all traffic as moved permanantly", | 
|  | 14       long_description=description, | 
|  | 15       classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | 
|  | 16       author='Jeff Hammel', | 
|  | 17       author_email='jhammel@mozilla.com', | 
|  | 18       url='http://k0s.org/hg/redirector', | 
|  | 19       license="MPL", | 
|  | 20       packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | 
|  | 21       include_package_data=True, | 
|  | 22       zip_safe=False, | 
|  | 23       install_requires=[ | 
|  | 24           # -*- Extra requirements: -*- | 
|  | 25          'WebOb', | 
|  | 26          'Paste', | 
|  | 27          'PasteScript', | 
|  | 28       ], | 
|  | 29       entry_points=""" | 
|  | 30       # -*- Entry points: -*- | 
|  | 31       [paste.app_factory] | 
|  | 32       main = redirectall.factory:factory | 
|  | 33       """, | 
|  | 34       ) | 
|  | 35 |