| #!/usr/bin/env python3 |
| # |
| # Copyright 2022 The Fuchsia Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| from setuptools import find_packages, setup |
| |
| install_requires = [ |
| "mobly==1.12.0", |
| "pyyaml>=5.1", |
| "tenacity~=8.0", |
| # TODO(b/240443856): Remove these dependencies once antlion runs in |
| # Fuchsia's LUCI infrastructure. These are needed for flashing and using |
| # mDNS discovery, which are unnecessary in the future infrastructure. |
| "usbinfo", |
| "psutil", |
| "zeroconf", |
| ] |
| |
| setup( |
| name="antlion", |
| version="0.2.0", |
| description="Host-driven, hardware-agnostic Fuchsia connectivity tests", |
| license="Apache-2.0", |
| packages=find_packages( |
| where="packages", |
| ), |
| package_dir={"": "packages"}, |
| include_package_data=True, |
| tests_require=[], |
| install_requires=install_requires, |
| extras_require={ |
| "html_graphing": ["bokeh"], |
| "digital_loggers_pdu": ["dlipower"], |
| "android": [ |
| "numpy", |
| "scapy", |
| ], |
| }, |
| ) |