| |
1 # This Source Code Form is subject to the terms of the Mozilla Public |
| |
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
| |
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| |
4 |
| |
5 from setuptools import setup, find_packages |
| |
6 import sys |
| |
7 |
| |
8 version = '0.5' |
| |
9 |
| |
10 deps = ['httplib2 == 0.7.3', |
| |
11 'mozfile == 1.1', |
| |
12 'mozhttpd == 0.7', |
| |
13 'mozinfo == 0.7', |
| |
14 'mozinstall == 1.10', |
| |
15 'mozprocess == 0.19', |
| |
16 'mozprofile == 0.21', |
| |
17 'mozrunner == 6.0', |
| |
18 'mozversion == 0.6', |
| |
19 ] |
| |
20 |
| |
21 # we only support python 2.6+ right now |
| |
22 assert sys.version_info[0] == 2 |
| |
23 assert sys.version_info[1] >= 6 |
| |
24 |
| |
25 setup(name='tps', |
| |
26 version=version, |
| |
27 description='run automated multi-profile sync tests', |
| |
28 long_description="""\ |
| |
29 """, |
| |
30 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
| |
31 keywords='', |
| |
32 author='Mozilla Automation and Tools team', |
| |
33 author_email='tools@lists.mozilla.org', |
| |
34 url='https://developer.mozilla.org/en-US/docs/TPS', |
| |
35 license='MPL 2.0', |
| |
36 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
| |
37 include_package_data=True, |
| |
38 zip_safe=False, |
| |
39 install_requires=deps, |
| |
40 entry_points=""" |
| |
41 # -*- Entry points: -*- |
| |
42 [console_scripts] |
| |
43 runtps = tps.cli:main |
| |
44 """, |
| |
45 data_files=[ |
| |
46 ('tps', ['config/config.json.in']), |
| |
47 ], |
| |
48 ) |