annotate setup.py @ 1:3117c5556eca default tip

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