mud/pyproject.toml
Jared Miller b0fcb080d3
Wire client capabilities into Player & terrain
Parse MTTS from telnetlib3 writer during connection and store capabilities
on Player.caps field. Add convenience property Player.color_depth that
delegates to caps.color_depth for easy access by rendering code.

Changes:
- Add caps field to Player with default 16-color ANSI capabilities
- Parse MTTS in server shell after Player creation using parse_mtts()
- Add Player.color_depth property for quick capability checks
- Add tests verifying Player caps integration and color_depth property
2026-02-07 22:44:45 -05:00

39 lines
700 B
TOML

[project]
name = "mudlib"
version = "0.1.0"
description = "a telnet mud engine"
requires-python = ">=3.12"
dependencies = [
"telnetlib3 @ file:///home/jtm/src/telnetlib3",
"pygments>=2.17.0",
]
[dependency-groups]
dev = [
"ruff",
"pytest",
"pytest-asyncio",
"pytest-testmon",
"pytest-xdist",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/mudlib"]
[tool.ruff]
src = ["src"]
line-length = 88
exclude = ["repos", ".worktrees"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.pytest.ini_options]
testpaths = ["tests"]