-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (31 loc) · 878 Bytes
/
Copy pathpyproject.toml
File metadata and controls
36 lines (31 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[project]
name = "py2048"
version = "0.1.0"
description = "Implementation of the 2048 game in Python, with an engine built for AI search."
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.141.1",
"pygame>=2.6.1",
"python-dotenv>=1.2.3",
"typesafe-sdk>=0.6.0",
"uvicorn[standard]>=0.53.0",
]
# Launch either front-end by name: `uv run py2048` / `uv run py2048-pygame`.
[project.scripts]
py2048 = "py2048.console:main"
py2048-pygame = "py2048.pygame_ui:main"
py2048-web = "py2048.web.app:run"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/py2048"]
[dependency-groups]
dev = [
"behave>=1.2.6",
"httpx>=0.28.1",
"ipykernel>=6.29.0",
]
[tool.uv]
# uv downloads the interpreter rather than relying on a system Python in the image.
python-downloads = "automatic"