aman/pyproject.toml
Thales Maciel 721248ca26
Decouple non-UI CLI startup from config_ui
Stop aman.py from importing the GTK settings module at module load so version, init, bench, diagnostics, and top-level help can start without pulling in the UI stack.\n\nPromote PyGObject and python-xlib into main project dependencies, switch the documented source install surface to plain uv/pip commands, and teach the portable, deb, and Arch packaging flows to install filtered runtime requirements before the Aman wheel so they still rely on distro-provided GTK/X11 packages.\n\nAdd regression coverage for importing aman with config_ui blocked and for the portable bundle's new requirements payload, then rerun the focused CLI/diagnostics/portable tests plus py_compile.
2026-03-14 13:38:15 -03:00

78 lines
1.7 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"
[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",
"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