Mercurial > mozilla > hg > talosnames
comparison setup.py @ 1:a10ae1ea8325
WIP
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 08 Jul 2012 10:09:51 -0700 |
parents | 3e1f069ac608 |
children | 82aad57c7d1d |
comparison
equal
deleted
inserted
replaced
0:3e1f069ac608 | 1:a10ae1ea8325 |
---|---|
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] | 15 [console_scripts] |
16 talosnames = talosnames.main:main | 16 talos-names = talosnames.main:main |
17 talosnames-template = talosnames.template:main | |
18 """ | 17 """ |
19 kw['install_requires'] = dependencies | 18 kw['install_requires'] = dependencies |
20 except ImportError: | 19 except ImportError: |
21 from distutils.core import setup | 20 from distutils.core import setup |
22 kw['requires'] = dependencies | 21 kw['requires'] = dependencies |