Break the old god module into flat siblings for CLI parsing, run lifecycle, daemon state, shared processing helpers, benchmark tooling, and maintainer-only model sync so changes stop sharing one giant import graph. Keep aman as a thin shim over aman_cli, move sync-default-model behind the hidden aman-maint entrypoint plus Make wrappers, and update packaging metadata plus maintainer docs to reflect the new surface. Retarget the tests to the new seams with dedicated runtime, run, benchmark, maintainer, and entrypoint suites, and verify with python3 -m unittest discover -s tests -p "test_*.py", python3 -m py_compile src/*.py tests/*.py, PYTHONPATH=src python3 -m aman --help, PYTHONPATH=src python3 -m aman version, and PYTHONPATH=src python3 -m aman_maint --help.
86 lines
1.8 KiB
TOML
86 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=69", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "aman"
|
|
version = "1.0.0"
|
|
description = "X11 STT daemon with faster-whisper and optional AI cleanup"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { file = "LICENSE" }
|
|
authors = [
|
|
{ name = "Thales Maciel", email = "thales@thalesmaciel.com" },
|
|
]
|
|
maintainers = [
|
|
{ name = "Thales Maciel", email = "thales@thalesmaciel.com" },
|
|
]
|
|
classifiers = [
|
|
"Environment :: X11 Applications",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"faster-whisper",
|
|
"llama-cpp-python",
|
|
"numpy",
|
|
"pillow",
|
|
"PyGObject",
|
|
"python-xlib",
|
|
"sounddevice",
|
|
]
|
|
|
|
[project.scripts]
|
|
aman = "aman:main"
|
|
aman-maint = "aman_maint:main"
|
|
|
|
[project.optional-dependencies]
|
|
wayland = []
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.thaloco.com/thaloco/aman"
|
|
Source = "https://git.thaloco.com/thaloco/aman"
|
|
Releases = "https://git.thaloco.com/thaloco/aman/releases"
|
|
Support = "https://git.thaloco.com/thaloco/aman"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
packages = ["engine", "stages"]
|
|
py-modules = [
|
|
"aiprocess",
|
|
"aman",
|
|
"aman_benchmarks",
|
|
"aman_cli",
|
|
"aman_maint",
|
|
"aman_model_sync",
|
|
"aman_processing",
|
|
"aman_run",
|
|
"aman_runtime",
|
|
"config",
|
|
"config_ui",
|
|
"constants",
|
|
"desktop",
|
|
"desktop_wayland",
|
|
"desktop_x11",
|
|
"diagnostics",
|
|
"hotkey",
|
|
"languages",
|
|
"model_eval",
|
|
"recorder",
|
|
"vocabulary",
|
|
]
|
|
|
|
[tool.setuptools.data-files]
|
|
"share/aman/assets" = [
|
|
"src/assets/idle.png",
|
|
"src/assets/processing.png",
|
|
"src/assets/recording.png",
|
|
"src/assets/stt.png",
|
|
]
|
|
|
|
[tool.uv]
|
|
package = true
|