Files
muxplex/pyproject.toml
T
Brian Krabach 74a02cc05b fix: add six dependency — undeclared transitive dep of python-pam (breaks macOS clean envs)
python-pam imports six but doesn't declare it. On Linux, six is usually
present system-wide. On macOS uv tool environments (clean/isolated),
import pam fails with 'No module named six'. Adding six explicitly to
our deps ensures PAM auth works on macOS.
2026-03-30 07:06:08 -07:00

48 lines
1.2 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "muxplex"
version = "0.1.0"
description = "Web-based tmux session dashboard — access all your tmux sessions from any browser"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"aiofiles>=23.0",
"websockets>=11.0",
"python-pam>=1.8.4",
"six>=1.16.0", # undeclared dep of python-pam (needed on macOS clean envs)
"itsdangerous>=2.1.0",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"httpx>=0.27.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"beautifulsoup4>=4.12",
]
[project.scripts]
muxplex = "muxplex.cli:main"
[project.urls]
Repository = "https://github.com/bkrabach/muxplex"
Issues = "https://github.com/bkrabach/muxplex/issues"
[tool.hatch.build.targets.wheel]
packages = ["muxplex"]
[tool.pytest.ini_options]
testpaths = ["muxplex/tests"]
asyncio_mode = "auto"
addopts = "--import-mode=importlib -m 'not integration'"
markers = [
"integration: marks tests as integration tests requiring real tmux (deselect with '-m not integration')",
]