Mercurial > hg > wsgintegrate
comparison setup.py @ 0:ec815b7cb142
initial commit of wsgintegrate
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 07 Jun 2011 08:03:09 -0700 |
| parents | |
| children | 2b44d878d46f |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:ec815b7cb142 |
|---|---|
| 1 from setuptools import setup, find_packages | |
| 2 import os | |
| 3 | |
| 4 version = '0.1.1' | |
| 5 | |
| 6 # description | |
| 7 try: | |
| 8 filename = os.path.join(os.path.dirname(__file__), 'README.txt') | |
| 9 description = file(filename).read() | |
| 10 except: | |
| 11 description = '' | |
| 12 | |
| 13 # dependencies | |
| 14 dependencies = ['webob'] | |
| 15 try: | |
| 16 import json | |
| 17 except ImportError: | |
| 18 dependencies.append('simplejson') | |
| 19 | |
| 20 setup(name='wsgintegrate', | |
| 21 version=version, | |
| 22 description='WSGI integration layer', | |
| 23 long_description=description, | |
| 24 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | |
| 25 keywords='', | |
| 26 author='Jeff Hammel', | |
| 27 author_email='jhammel@mozilla.com', | |
| 28 url='http://k0s.org/', | |
| 29 license='GPL', | |
| 30 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | |
| 31 include_package_data=True, | |
| 32 zip_safe=False, | |
| 33 install_requires=dependencies, | |
| 34 entry_points=""" | |
| 35 """, | |
| 36 ) |
