annotate setup.py @ 2:1892dd7d8748 default tip

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 09:59:20 -0800
parents a12647395076
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 from setuptools import setup, find_packages
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 try:
2
Jeff Hammel <k0scist@gmail.com>
parents: 1
diff changeset
4 description = open('README.txt').read()
Jeff Hammel <k0scist@gmail.com>
parents: 1
diff changeset
5 except IOError:
0
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 description = ''
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 version = "0.1"
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 setup(name='relocator',
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 version=version,
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 description="change Location field in responses using WSGI middleware",
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
13 long_description=description,
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
15 author='Jeff Hammel',
2
Jeff Hammel <k0scist@gmail.com>
parents: 1
diff changeset
16 author_email='k0scist@gmail.com',
1
a12647395076 update URL for relocator
Jeff Hammel <jhammel@mozilla.com>
parents: 0
diff changeset
17 url='http://k0s.org/hg/relocator',
0
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
18 license="MPL",
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
19 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
20 include_package_data=True,
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
21 zip_safe=False,
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
22 install_requires=[
68bea9e91bd2 initial import of relocator
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
23 # -*- Extra requirements: -*-
2
Jeff Hammel <k0scist@gmail.com>
parents: 1
diff changeset
24 'WebOb',
Jeff Hammel <k0scist@gmail.com>
parents: 1
diff changeset
25 ]
Jeff Hammel <k0scist@gmail.com>
parents: 1
diff changeset
26 )