Files
retro-gamer/pyproject.toml
Chris Proctor c89609fe77 Refactor CLI/interface: init command, factory field, remove extras_size
- Rename `retro-gamer create` to `retro-gamer init` with positional
  args (GAME OUTPUT) instead of --game/--output flags
- Add [tool.retro-gamer].factory = "module:attr" to declare the game
  factory function from pyproject.toml instead of relying on a
  hard-coded create_game attribute
- Remove extras_size from user-facing config; it is now measured
  automatically from a sample observation and never declared
- Update docs throughout: create→init, runs/→training/, add factory
  field documentation, clarify [model] vs [training] hyperparameter
  sections, remove stale version-history explanations
- Bump version to 0.3.0; require retro-games>=2.5.0
2026-06-26 06:55:30 -04:00

37 lines
768 B
TOML

[project]
name = "retro-gamer"
version = "0.3.0"
description = "A toolkit for learning reinforcement learning by training agents to play retro games"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"retro-games>=2.5.0",
"torch>=2.0",
"numpy>=1.24",
"click>=8.0",
"tomli-w>=1.0",
"tqdm>=4.0",
"plotext>=5.0",
"matplotlib>=3.7",
"seaborn>=0.13",
]
[project.urls]
documentation = "https://docs.makingwithcode.org/retro-gamer"
[project.scripts]
retro-gamer = "retro_gamer.cli:cli"
[dependency-groups]
documentation = [
"sphinx>=7.0",
"sphinx-rtd-theme>=2.0",
]
[tool.uv.sources]
retro-games = { path = "../retro", editable = true }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"