Mercurial > hg > RequestDumpster
comparison setup.py @ 7:83c51f45b82d
optparse -> argparse and the like
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 16 Dec 2015 10:31:00 -0800 |
parents | b53ce9bde2c8 |
children | 4c613e5840be |
comparison
equal
deleted
inserted
replaced
6:aa19f80caa63 | 7:83c51f45b82d |
---|---|
10 # allow use of setuptools/distribute or distutils | 10 # allow use of setuptools/distribute or distutils |
11 kw = {} | 11 kw = {} |
12 try: | 12 try: |
13 from setuptools import setup | 13 from setuptools import setup |
14 kw['entry_points'] = """ | 14 kw['entry_points'] = """ |
15 [console_scripts] | |
16 request-dumpster = requestdumpster.dumpster:main | |
15 | 17 |
16 """ | 18 """ |
17 kw['install_requires'] = dependencies | 19 kw['install_requires'] = dependencies |
18 except ImportError: | 20 except ImportError: |
19 from distutils.core import setup | 21 from distutils.core import setup |