Mercurial > hg > RequestDumpster
comparison setup.py @ 0:b53ce9bde2c8
stubbing
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Tue, 30 Jun 2015 15:37:05 -0700 |
| parents | |
| children | 83c51f45b82d |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:b53ce9bde2c8 |
|---|---|
| 1 """ | |
| 2 setup packaging script for requestdumpster | |
| 3 """ | |
| 4 | |
| 5 import os | |
| 6 | |
| 7 version = "0.0" | |
| 8 dependencies = [] | |
| 9 | |
| 10 # allow use of setuptools/distribute or distutils | |
| 11 kw = {} | |
| 12 try: | |
| 13 from setuptools import setup | |
| 14 kw['entry_points'] = """ | |
| 15 | |
| 16 """ | |
| 17 kw['install_requires'] = dependencies | |
| 18 except ImportError: | |
| 19 from distutils.core import setup | |
| 20 kw['requires'] = dependencies | |
| 21 | |
| 22 try: | |
| 23 here = os.path.dirname(os.path.abspath(__file__)) | |
| 24 description = file(os.path.join(here, 'README.txt')).read() | |
| 25 except IOError: | |
| 26 description = '' | |
| 27 | |
| 28 | |
| 29 setup(name='RequestDumpster', | |
| 30 version=version, | |
| 31 description="dump requests", | |
| 32 long_description=description, | |
| 33 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
| 34 author='Jeff Hammel', | |
| 35 author_email='k0scist@gmail.com', | |
| 36 url='http://k0s.org/hg/RequestDumpster', | |
| 37 license='', | |
| 38 packages=['requestdumpster'], | |
| 39 include_package_data=True, | |
| 40 zip_safe=False, | |
| 41 **kw | |
| 42 ) | |
| 43 |
