Mercurial > hg > RequestDumpster
annotate setup.py @ 9:4c613e5840be
add webob as a dep
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 16 Dec 2015 10:53:34 -0800 |
parents | 83c51f45b82d |
children | cacab5fb2352 |
rev | line source |
---|---|
0 | 1 """ |
2 setup packaging script for requestdumpster | |
3 """ | |
4 | |
5 import os | |
6 | |
7 version = "0.0" | |
9 | 8 dependencies = ['webob'] |
0 | 9 |
10 # allow use of setuptools/distribute or distutils | |
11 kw = {} | |
12 try: | |
13 from setuptools import setup | |
14 kw['entry_points'] = """ | |
7
83c51f45b82d
optparse -> argparse and the like
Jeff Hammel <k0scist@gmail.com>
parents:
0
diff
changeset
|
15 [console_scripts] |
83c51f45b82d
optparse -> argparse and the like
Jeff Hammel <k0scist@gmail.com>
parents:
0
diff
changeset
|
16 request-dumpster = requestdumpster.dumpster:main |
0 | 17 |
18 """ | |
19 kw['install_requires'] = dependencies | |
20 except ImportError: | |
21 from distutils.core import setup | |
22 kw['requires'] = dependencies | |
23 | |
24 try: | |
25 here = os.path.dirname(os.path.abspath(__file__)) | |
26 description = file(os.path.join(here, 'README.txt')).read() | |
27 except IOError: | |
28 description = '' | |
29 | |
30 | |
31 setup(name='RequestDumpster', | |
32 version=version, | |
33 description="dump requests", | |
34 long_description=description, | |
35 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
36 author='Jeff Hammel', | |
37 author_email='k0scist@gmail.com', | |
38 url='http://k0s.org/hg/RequestDumpster', | |
39 license='', | |
40 packages=['requestdumpster'], | |
41 include_package_data=True, | |
42 zip_safe=False, | |
43 **kw | |
44 ) | |
45 |