Mercurial > hg > relocator
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1:a12647395076 | 2:1892dd7d8748 |
|---|---|
| 1 from setuptools import setup, find_packages | 1 from setuptools import setup, find_packages |
| 2 | 2 |
| 3 try: | 3 try: |
| 4 description = file('README.txt').read() | 4 description = open('README.txt').read() |
| 5 except IOError: | 5 except IOError: |
| 6 description = '' | 6 description = '' |
| 7 | 7 |
| 8 version = "0.1" | 8 version = "0.1" |
| 9 | 9 |
| 10 setup(name='relocator', | 10 setup(name='relocator', |
| 11 version=version, | 11 version=version, |
| 12 description="change Location field in responses using WSGI middleware", | 12 description="change Location field in responses using WSGI middleware", |
| 13 long_description=description, | 13 long_description=description, |
| 14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | 14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
| 15 author='Jeff Hammel', | 15 author='Jeff Hammel', |
| 16 author_email='jhammel@mozilla.com', | 16 author_email='k0scist@gmail.com', |
| 17 url='http://k0s.org/hg/relocator', | 17 url='http://k0s.org/hg/relocator', |
| 18 license="MPL", | 18 license="MPL", |
| 19 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | 19 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
| 20 include_package_data=True, | 20 include_package_data=True, |
| 21 zip_safe=False, | 21 zip_safe=False, |
| 22 install_requires=[ | 22 install_requires=[ |
| 23 # -*- Extra requirements: -*- | 23 # -*- Extra requirements: -*- |
| 24 'WebOb', | 24 'WebOb', |
| 25 ], | 25 ] |
| 26 entry_points=""" | 26 ) |
| 27 # -*- Entry points: -*- | |
| 28 """, | |
| 29 ) | |
| 30 |
