| # Reference at https://peps.python.org/pep-0621/ |
| |
| [build-system] |
| requires = ["setuptools"] |
| build-backend = "setuptools.build_meta" |
| |
| [project] |
| name = "antlion" |
| version = "0.1" |
| description = "Android Comms Test Suite" |
| readme = "README.md" |
| requires-python = ">=3.8" |
| license = {text = "Apache-2.0"} |
| dependencies = [ |
| "backoff", |
| "future>=0.16.0", |
| "mobly==1.12.0", |
| "pyyaml>=5.1", |
| "retry", |
| "usbinfo", # flash |
| "zeroconf", # mdns |
| ] |
| |
| [project.optional-dependencies] |
| # Required for running unit tests |
| test = [ |
| "pytest", |
| # Latest version of mock (4.0.0b) causes a number of compatibility issues with ACTS unit tests |
| # b/148695846, b/148814743 |
| "mock==3.0.5", |
| ] |
| # 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'] |
| bokeh = [ |
| "bokeh", |
| ] |
| 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", |
| "backoff", |
| "dataclasses", |
| "dlipower", |
| "future", |
| "mobly", |
| "mock", |
| "numpy", |
| "paramiko", |
| "protobuf", |
| "pylibftdi", |
| "requests", |
| "retry", |
| "scapy", |
| "scipy", |
| "usbinfo", |
| "zeroconf", |
| ] |
| |
| [tools.vulture] |
| paths = ["src", "tests"] |
| sort_by_size = true |
| min_confidence = 80 |