blob: 82f0b409dbc638ec7563976fef71677a6f5785c4 [file] [log] [blame]
# Reference at https://peps.python.org/pep-0621/
[build-system]
requires = ["setuptools", "setuptools-scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "antlion"
description = "Host-driven, hardware-agnostic Fuchsia connectivity tests"
requires-python = ">=3.8"
license = {text = "Apache-2.0"}
dynamic = ["version"]
readme = "README.md"
dependencies = [
"mobly==1.12.0",
"pyyaml>=5.1",
"tenacity~=8.0",
]
[project.optional-dependencies]
# Required to support development tools
dev = [
"autoflake~=2.1", # remove unused code
"black~=23.3", # code formatting
"isort~=5.12", # import sorting
"mock~=5.0", # required for unit tests
"mypy~=1.3", # static type checking
"shiv~=1.0", # packaging python
"toml==0.10.2", # required for pyproject.toml
"vulture~=2.7", # finds unused code
# Library stubs for type checking
"types-PyYAML~=6.0",
"types-mock~=5.0",
"types-psutil~=5.9",
]
digital_loggers_pdu = ["dlipower"]
html_graphing = ["bokeh"]
flash = ["usbinfo"]
mdns = ["psutil", "zeroconf"]
android = [
"numpy",
"scapy",
]
[tool.setuptools.packages.find]
where = ["packages"]
[tool.autoflake]
imports = [
"antlion",
"dataclasses",
"dlipower",
"mobly",
"mock",
"numpy",
"scapy",
"tenacity",
"usbinfo",
"zeroconf",
]
[tool.isort]
profile = "black"
[tool.mypy]
mypy_path = "stubs"
python_version = "3.8"
check_untyped_defs = true
[tools.vulture]
paths = ["packages"]
sort_by_size = true
min_confidence = 80