|
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 file, |
|
3 # You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 import sys |
|
6 from setuptools import setup |
|
7 |
|
8 PACKAGE_NAME = 'mozrunner' |
|
9 PACKAGE_VERSION = '5.36' |
|
10 |
|
11 desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)""" |
|
12 |
|
13 deps = ['mozcrash >= 0.11', |
|
14 'mozdevice >= 0.30', |
|
15 'mozfile >= 1.0', |
|
16 'mozinfo >= 0.7', |
|
17 'mozlog >= 1.5', |
|
18 'mozprocess >= 0.17', |
|
19 'mozprofile >= 0.18', |
|
20 ] |
|
21 |
|
22 # we only support python 2 right now |
|
23 assert sys.version_info[0] == 2 |
|
24 |
|
25 setup(name=PACKAGE_NAME, |
|
26 version=PACKAGE_VERSION, |
|
27 description=desc, |
|
28 long_description="see http://mozbase.readthedocs.org/", |
|
29 classifiers=['Environment :: Console', |
|
30 'Intended Audience :: Developers', |
|
31 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', |
|
32 'Natural Language :: English', |
|
33 'Operating System :: OS Independent', |
|
34 'Programming Language :: Python', |
|
35 'Topic :: Software Development :: Libraries :: Python Modules', |
|
36 ], |
|
37 keywords='mozilla', |
|
38 author='Mozilla Automation and Tools team', |
|
39 author_email='tools@lists.mozilla.org', |
|
40 url='https://wiki.mozilla.org/Auto-tools/Projects/Mozbase', |
|
41 license='MPL 2.0', |
|
42 packages=['mozrunner'], |
|
43 package_data={'mozrunner': [ |
|
44 'resources/metrotestharness.exe' |
|
45 ]}, |
|
46 zip_safe=False, |
|
47 install_requires = deps, |
|
48 entry_points=""" |
|
49 # -*- Entry points: -*- |
|
50 [console_scripts] |
|
51 mozrunner = mozrunner:cli |
|
52 """, |
|
53 ) |