Base working for damage

This commit is contained in:
2026-10-09 23:10:40 -06:00
parent 2895be91c4
commit 3e0ad62cf2
31 changed files with 9758 additions and 67 deletions
+17 -5
View File
@@ -3,13 +3,24 @@ from setuptools import setup, find_packages
from src.version import version
install_requires = [
"requests==2.26.0",
"PySide6==6.2.0",
"toml==0.10.2",
"pillow==8.4.0",
"pyaoaddons==0.2.8"
"requests>=2.26",
"PySide6>=6.2",
"toml>=0.10.2",
"pillow>=8.4",
# On Linux the app ships a pure-Python Protocol18 decoder and captures with
# AF_PACKET directly, so no native backend is needed. On Windows/macOS the
# pyaoaddons packet capture backend is still used; only 0.2.8 is released
# and it ships prebuilt wheels for CPython 3.6-3.10 only. On newer Python
# versions it must be built from source (see the 'capture' extra).
"pyaoaddons==0.2.8; python_version < '3.11' and sys_platform != 'linux'",
]
extras_require = {
# Force installation of the packet capture backend, e.g. when building
# pyaoaddons from source or using an unsupported Python version.
'capture': ['pyaoaddons==0.2.8'],
}
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
@@ -25,6 +36,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
packages=find_packages('.', include=('src*')),
include_package_data=True,
install_requires=install_requires,
extras_require=extras_require,
entry_points={
'console_scripts': [
'aostats = src.__main__:run'