Mercurial > mozilla > hg > talosnames
comparison setup.py @ 11:b7b59561be5e
add talos
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 10 Jul 2012 16:26:57 -0700 |
parents | 82aad57c7d1d |
children | 1b18b2746e69 |
comparison
equal
deleted
inserted
replaced
10:1029ddf7b806 | 11:b7b59561be5e |
---|---|
3 """ | 3 """ |
4 | 4 |
5 import os | 5 import os |
6 | 6 |
7 version = "0.0" | 7 version = "0.0" |
8 dependencies = ['webob', 'CommandParser'] | 8 dependencies = ['webob', 'CommandParser', 'talos'] |
9 | 9 |
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] | 15 [console_scripts] |
16 talos-names = talosnames.main:main | 16 talos-names = talosnames.main:main |
17 """ | 17 """ |
18 kw['install_requires'] = dependencies | 18 kw['install_requires'] = dependencies |
19 kw['dependency_links'] = ['http://hg.mozilla.org/build/talos/archive/tip.tar.gz#egg=talos'] | |
19 except ImportError: | 20 except ImportError: |
20 from distutils.core import setup | 21 from distutils.core import setup |
21 kw['requires'] = dependencies | 22 kw['requires'] = dependencies |
22 | 23 |
23 try: | 24 try: |