맥락: - GUI 이식 전에 Rust crate와 proto schema 위치를 Python package 내부에서 분리한다. - Cargo 작업, IDE 인식, 빌드 산출물 관리를 루트 구조에 맞춘다. 변경: - rust_core를 rust/lost-cities-core로 이동하고 proto/lost_cities.proto를 루트 proto 디렉터리로 옮겼다. - Rust build.rs, Python Rust backend, Rust parity 테스트의 경로를 새 위치로 수정했다. - Python package-data에서 Rust crate와 proto 항목을 제거하고 README/port notes를 갱신했다. 확인: - uv sync --extra gui --reinstall-package coolrl-lost-cities - uv run pytest tests/games/classic - uv run lost-cities-classic
43 lines
866 B
TOML
43 lines
866 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.optional-dependencies]
|
|
gui = [
|
|
"pygame>=2.6.1",
|
|
"pygame-gui>=0.6.14",
|
|
]
|
|
|
|
[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",
|
|
]
|