Mercurial > hg > wsgintegrate
annotate setup.py @ 22:37b47aedcc3d
STUB: wsgintegrate/main.py
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Thu, 06 Mar 2014 23:14:37 -0800 |
| parents | caf763fc1c7d |
| children | b43cb919b1e4 |
| rev | line source |
|---|---|
| 20 | 1 from setuptools import setup |
|
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
2 import os |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
3 |
| 20 | 4 version = '0.1.2' |
|
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
5 |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
6 # description |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
7 try: |
|
19
4d9a2a2fb8c0
print out the localhost url and other minor fixes
Jeff Hammel <jhammel@mozilla.com>
parents:
5
diff
changeset
|
8 filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.txt') |
|
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
9 description = file(filename).read() |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
10 except: |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
11 description = '' |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
12 |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
13 dependencies = ['webob'] |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
14 |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
15 setup(name='wsgintegrate', |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
16 version=version, |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
17 description='WSGI integration layer', |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
18 long_description=description, |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
19 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
20 keywords='', |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
21 author='Jeff Hammel', |
| 20 | 22 author_email='k0scist@gmail.com', |
|
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
23 url='http://k0s.org/', |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
24 license='GPL', |
|
19
4d9a2a2fb8c0
print out the localhost url and other minor fixes
Jeff Hammel <jhammel@mozilla.com>
parents:
5
diff
changeset
|
25 packages=['wsgintegrate'], |
|
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
26 include_package_data=True, |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
27 zip_safe=False, |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
28 install_requires=dependencies, |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
29 entry_points=""" |
| 5 | 30 [console_scripts] |
|
4
2b44d878d46f
add entry point to setup.py
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
31 wsgintegrate = wsgintegrate.main:main |
|
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
32 """, |
|
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
33 ) |
