Add project infrastructure: project config, license, README, tests, and
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 5s

example env file
This commit is contained in:
2026-10-04 10:08:44 +08:00
commit faa96bd728
9 changed files with 913 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "treasure-island"
version = "0.1.0"
description = "A beginner-friendly choose-your-own-adventure text game."
readme = "README.md"
requires-python = ">=3.13"
license = "AGPL-3.0-or-later"
license-files = ["LICENSE"]
dependencies = []
[project.optional-dependencies]
dev = ["pytest>=8"]
[project.scripts]
treasure-island = "treasure_island.game:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]