Mercurial > mozilla > hg > talosnames
annotate setup.py @ 46:fcd98303a90d
provide CLI handler for web
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 13 Aug 2012 15:14:53 -0700 |
parents | 1713b3e244a7 |
children | 11249e75ced6 |
rev | line source |
---|---|
0 | 1 """ |
2 setup packaging script for talosnames | |
3 """ | |
4 | |
5 import os | |
6 | |
7 version = "0.0" | |
16 | 8 dependencies = ['webob', 'CommandParser', 'talos', 'buildbot', 'PyYAML'] |
0 | 9 |
10 # allow use of setuptools/distribute or distutils | |
11 kw = {} | |
12 try: | |
13 from setuptools import setup | |
14 kw['entry_points'] = """ | |
15 [console_scripts] | |
1 | 16 talos-names = talosnames.main:main |
46
fcd98303a90d
provide CLI handler for web
Jeff Hammel <jhammel@mozilla.com>
parents:
16
diff
changeset
|
17 talos-names-web = talosnames.web:main |
0 | 18 """ |
19 kw['install_requires'] = dependencies | |
11 | 20 kw['dependency_links'] = ['http://hg.mozilla.org/build/talos/archive/tip.tar.gz#egg=talos'] |
0 | 21 except ImportError: |
22 from distutils.core import setup | |
23 kw['requires'] = dependencies | |
24 | |
25 try: | |
26 here = os.path.dirname(os.path.abspath(__file__)) | |
27 description = file(os.path.join(here, 'README.txt')).read() | |
28 except IOError: | |
29 description = '' | |
30 | |
31 | |
32 setup(name='talosnames', | |
33 version=version, | |
34 description="correlate names of talos", | |
35 long_description=description, | |
36 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers | |
37 author='Jeff Hammel', | |
38 author_email='jhammel@mozilla.com', | |
39 url='', | |
40 license='', | |
41 packages=['talosnames'], | |
42 include_package_data=True, | |
43 zip_safe=False, | |
44 **kw | |
45 ) | |
46 |