setup.py (1962B)
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 ] 20 21 EXTRAS_REQUIRE = {"crash": ["mozcrash >= 2.0"]} 22 23 setup( 24 name=PACKAGE_NAME, 25 version=PACKAGE_VERSION, 26 description=desc, 27 long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html", 28 classifiers=[ 29 "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 "Programming Language :: Python :: 3 :: Only", 36 "Programming Language :: Python :: 3.8", 37 "Programming Language :: Python :: 3.9", 38 "Programming Language :: Python :: 3.10", 39 "Programming Language :: Python :: 3.11", 40 "Programming Language :: Python :: 3.12", 41 "Programming Language :: Python :: 3.13", 42 "Topic :: Software Development :: Libraries :: Python Modules", 43 ], 44 keywords="mozilla", 45 author="Mozilla Automation and Tools team", 46 author_email="tools@lists.mozilla.org", 47 url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase", 48 license="MPL 2.0", 49 packages=find_packages(), 50 zip_safe=False, 51 install_requires=deps, 52 extras_require=EXTRAS_REQUIRE, 53 entry_points=""" 54 # -*- Entry points: -*- 55 [console_scripts] 56 mozrunner = mozrunner:cli 57 """, 58 python_requires=">=3.8", 59 )