| 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 |
from setuptools import find_packages, setup |
| 6 |
|
| 7 |
PACKAGE_NAME = "mozrunner" |
| 8 |
PACKAGE_VERSION = "8.3.2" |
| 9 |
|
| 10 |
desc = """Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)""" |
| 11 |
|
| 12 |
deps = [ |
| 13 |
"mozdevice>=4.2.0,<5", |
| 14 |
"mozfile>=1.2", |
| 15 |
"mozinfo>=0.7,<2", |
| 16 |
"mozlog>=6.0", |
| 17 |
"mozprocess>=1.3.0,<2", |
| 18 |
"mozprofile~=3.0", |
| 19 |
"six>=1.13.0,<2", |
| 20 |
] |
| 21 |
|
| 22 |
EXTRAS_REQUIRE = {"crash": ["mozcrash >= 2.0"]} |
| 23 |
|
| 24 |
setup( |
| 25 |
name=PACKAGE_NAME, |
| 26 |
version=PACKAGE_VERSION, |
| 27 |
description=desc, |
| 28 |
long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html", |
| 29 |
classifiers=[ |
| 30 |
"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 :: 2.7", |
| 36 |
"Programming Language :: Python :: 3.5", |
| 37 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 38 |
], |
| 39 |
keywords="mozilla", |
| 40 |
author="Mozilla Automation and Tools team", |
| 41 |
author_email="[email protected]", |
| 42 |
url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase", |
| 43 |
license="MPL 2.0", |
| 44 |
packages=find_packages(), |
| 45 |
zip_safe=False, |
| 46 |
install_requires=deps, |
| 47 |
extras_require=EXTRAS_REQUIRE, |
| 48 |
entry_points=""" |
| 49 |
# -*- Entry points: -*- |
| 50 |
[console_scripts] |
| 51 |
mozrunner = mozrunner:cli |
| 52 |
""", |
| 53 |
) |