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