| # 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 = [ |
| "shiv", # packaging python |
| "toml", # required for pyproject.toml |
| "vulture", # finds unused code |
| "yapf", # code formatting |
| ] |
| digital_loggers_pdu = ["dlipower"] |
| bluetooth = ["soundfile"] |
| html_graphing = ["bokeh"] |
| flash = ["usbinfo"] |
| mdns = ["psutil", "zeroconf"] |
| android = [ |
| "Monsoon", |
| "numpy", |
| "paramiko[ed25519]", |
| "pylibftdi", |
| "pyserial", |
| "requests", |
| "scapy", |
| "scipy", |
| ] |
| |
| [project.scripts] |
| antlion = "antlion.bin.act:main" |
| |
| [tool.setuptools.packages.find] |
| where = ["src"] |
| |
| [tool.autoflake] |
| imports = [ |
| "Monsoon", |
| "antlion", |
| "dataclasses", |
| "dlipower", |
| "mobly", |
| "mock", |
| "numpy", |
| "paramiko", |
| "protobuf", |
| "pylibftdi", |
| "requests", |
| "scapy", |
| "scipy", |
| "tenacity", |
| "usbinfo", |
| "zeroconf", |
| ] |
| |
| [tools.vulture] |
| paths = ["src"] |
| sort_by_size = true |
| min_confidence = 80 |