Mercurial > hg > wsgintegrate
comparison setup.py @ 20:caf763fc1c7d
front end more servers
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Thu, 06 Mar 2014 22:52:25 -0800 |
| parents | 4d9a2a2fb8c0 |
| children | b43cb919b1e4 |
comparison
equal
deleted
inserted
replaced
| 19:4d9a2a2fb8c0 | 20:caf763fc1c7d |
|---|---|
| 1 from setuptools import setup, find_packages | 1 from setuptools import setup |
| 2 import os | 2 import os |
| 3 | 3 |
| 4 version = '0.1.1' | 4 version = '0.1.2' |
| 5 | 5 |
| 6 # description | 6 # description |
| 7 try: | 7 try: |
| 8 filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt') | 8 filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt') |
| 9 description = file(filename).read() | 9 description = file(filename).read() |
| 10 except: | 10 except: |
| 11 description = '' | 11 description = '' |
| 12 | 12 |
| 13 # dependencies | |
| 14 dependencies = ['webob'] | 13 dependencies = ['webob'] |
| 15 try: | |
| 16 import json | |
| 17 except ImportError: | |
| 18 dependencies.append('simplejson') | |
| 19 | 14 |
| 20 setup(name='wsgintegrate', | 15 setup(name='wsgintegrate', |
| 21 version=version, | 16 version=version, |
| 22 description='WSGI integration layer', | 17 description='WSGI integration layer', |
| 23 long_description=description, | 18 long_description=description, |
| 24 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | 19 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 25 keywords='', | 20 keywords='', |
| 26 author='Jeff Hammel', | 21 author='Jeff Hammel', |
| 27 author_email='jhammel@mozilla.com', | 22 author_email='k0scist@gmail.com', |
| 28 url='http://k0s.org/', | 23 url='http://k0s.org/', |
| 29 license='GPL', | 24 license='GPL', |
| 30 packages=['wsgintegrate'], | 25 packages=['wsgintegrate'], |
| 31 include_package_data=True, | 26 include_package_data=True, |
| 32 zip_safe=False, | 27 zip_safe=False, |
