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
|
0
|
17 """
|
|
18 kw['install_requires'] = dependencies
|
11
|
19 kw['dependency_links'] = ['http://hg.mozilla.org/build/talos/archive/tip.tar.gz#egg=talos']
|
0
|
20 except ImportError:
|
|
21 from distutils.core import setup
|
|
22 kw['requires'] = dependencies
|
|
23
|
|
24 try:
|
|
25 here = os.path.dirname(os.path.abspath(__file__))
|
|
26 description = file(os.path.join(here, 'README.txt')).read()
|
|
27 except IOError:
|
|
28 description = ''
|
|
29
|
|
30
|
|
31 setup(name='talosnames',
|
|
32 version=version,
|
|
33 description="correlate names of talos",
|
|
34 long_description=description,
|
|
35 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
|
|
36 author='Jeff Hammel',
|
|
37 author_email='jhammel@mozilla.com',
|
|
38 url='',
|
|
39 license='',
|
|
40 packages=['talosnames'],
|
|
41 include_package_data=True,
|
|
42 zip_safe=False,
|
|
43 **kw
|
|
44 )
|
|
45
|