Files
coorl-lost-cities/pyproject.toml
T
coolguy 361420df7a 클래식 공개 API 정리
맥락:
- GUI 이식 전에 classic 패키지 루트에서 노출할 API 범위를 정리했다.
- Claude Opus 4.7 xhigh 자문에서 root export 축소와 backend builder 이름 단일화를 우선 권장했다.

변경:
- classic package root export를 GameState, config, env, backend, bot registry 중심으로 줄였다.
- backend factory 이름을 build_backend로 단일화하고 README 사용 예시를 갱신했다.
- public API smoke test를 추가하고 pyproject description 및 Cython build failure 처리를 정리했다.

확인:
- uv run pytest tests/games/classic
- uv run lost-cities-classic
2026-05-06 19:21:17 +09:00

43 lines
937 B
TOML

[project]
name = "coolrl-lost-cities"
version = "0.1.0"
description = "Focused Lost Cities classic game extraction"
readme = "README.md"
authors = [
{ name = "정시원", email = "sebastianrcnt@gmail.com" }
]
requires-python = ">=3.11"
dependencies = [
"numpy>=1.26.0",
]
[project.scripts]
lost-cities-classic = "coolrl_lost_cities.games.classic:main"
[dependency-groups]
dev = [
"cython>=3.0",
"pytest>=9.0.3",
]
[build-system]
requires = ["setuptools>=69", "wheel", "Cython>=3.0", "numpy>=1.26.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["coolrl_lost_cities*"]
[tool.setuptools.package-data]
"coolrl_lost_cities.games.classic" = [
"assets/*.json",
"fixtures/*.json",
"docs/*.md",
"schemas/*.proto",
"rust_core/Cargo.lock",
"rust_core/Cargo.toml",
"rust_core/build.rs",
"rust_core/src/*.rs",
"rust_core/src/bin/*.rs",
]