Mercurial > hg > wsgintegrate
annotate setup.py @ 33:b582d2e32d92 default tip
bump version for release
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 02 Jun 2024 16:17:49 -0700 |
parents | 840d60377c88 |
children |
rev | line source |
---|---|
33 | 1 import os |
20 | 2 from setuptools import setup |
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
3 |
33 | 4 version = '0.1.5' |
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: |
31 | 8 filename = os.path.join(os.path.dirname(os.path.abspath(__file__)), |
9 'README.txt') | |
10 description = open(filename).read() | |
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
11 except: |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
12 description = '' |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
13 |
29 | 14 dependencies = ['webob', 'pyloader>=0.1.5'] |
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
15 |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
16 setup(name='wsgintegrate', |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
17 version=version, |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
18 description='WSGI integration layer', |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
19 long_description=description, |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
20 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
|
21 keywords='', |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
22 author='Jeff Hammel', |
20 | 23 author_email='k0scist@gmail.com', |
26 | 24 url='http://k0s.org/hg/wsgintegrate', |
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
25 license='GPL', |
19
4d9a2a2fb8c0
print out the localhost url and other minor fixes
Jeff Hammel <jhammel@mozilla.com>
parents:
5
diff
changeset
|
26 packages=['wsgintegrate'], |
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
27 include_package_data=True, |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
28 zip_safe=False, |
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
29 install_requires=dependencies, |
28 | 30 tests_require=['tox'], |
0
ec815b7cb142
initial commit of wsgintegrate
Jeff Hammel <jhammel@mozilla.com>
parents:
diff
changeset
|
31 entry_points=""" |
5 | 32 [console_scripts] |
4
2b44d878d46f
add entry point to setup.py
Jeff Hammel <jhammel@mozilla.com>
parents:
0
diff
changeset
|
33 wsgintegrate = wsgintegrate.main:main |
31 | 34 """ |
35 ) |