Files
sousa-gecko/testing/mozbase/mozinfo/setup.py
T
Sylvestre Ledru f4abf01693 Bug 2023411 - Extract Android OS-to-API map into a shared YAML file r=linter-reviewers,sergesanspaille
Move `android_os_to_api_map` out of `mozinfo/platforminfo.py` and into
`mozinfo/android_os_to_api_map.yaml` so it can be consumed both by Python
(`mozinfo`) and by Rust (`tools/lint/mozcheck` via `include_str!`).

Differential Revision: https://phabricator.services.mozilla.com/D296662
2026-05-05 22:24:37 +00:00

49 lines
1.6 KiB
Python

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
PACKAGE_VERSION = "1.2.3"
# dependencies
deps = [
"distro >= 1.4.0",
"mozfile >= 0.12",
]
setup(
name="mozinfo",
version=PACKAGE_VERSION,
description="Library to get system information for use in Mozilla testing",
long_description="see https://firefox-source-docs.mozilla.org/mozbase/index.html",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 5 - Production/Stable",
],
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords="mozilla",
author="Mozilla Automation and Testing Team",
author_email="tools@lists.mozilla.org",
url="https://wiki.mozilla.org/Auto-tools/Projects/Mozbase",
license="MPL",
packages=["mozinfo"],
package_data={"mozinfo": ["android_os_to_api_map.yaml"]},
include_package_data=True,
zip_safe=False,
install_requires=deps,
entry_points="""
# -*- Entry points: -*-
[console_scripts]
mozinfo = mozinfo:main
""",
python_requires=">=3.8",
)