forked from ZSim-Dev/ZSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
92 lines (81 loc) · 1.76 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["setuptools>=75.1.0", "wheel>=0.41.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["zsim*"]
exclude = [
"results*",
"tests*",
"docs*",
"build*",
".venv*",
".git*",
"electron*",
"dist*",
"knowledge_base*",
]
[tool.pyinstaller]
# ZSim API 配置
spec_file = "zsim_api.spec"
console = true
clean = true
noconfirm = true
[project]
name = "zzz-simulator"
version = "0.3.5"
description = "A simulator for ZZZ game"
requires-python = ">=3.12"
dependencies = [
"pandas~=2.2.3",
"tqdm~=4.66.5",
"numpy~=2.2.5",
"dash~=2.18.2",
"plotly~=6.0.0",
"setuptools~=75.1.0",
"streamlit~=1.44.0",
"aiofiles>=24.1.0",
"pydantic>=2.11.3",
"psutil>=7.0.0",
"streamlit-ace>=0.1.1",
"polars>=1.28.1",
"pywebview>=5.4",
"fastapi>=0.115.12",
"uvicorn>=0.35.0",
"aiosqlite>=0.21.0",
"httpx>=0.28.1",
"dotenv>=0.9.9",
"tomli-w>=1.2.0",
"sqlalchemy>=2.0.43",
"alembic>=1.16.5",
"greenlet>=3.0.3",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "B", "B9", "I", "Q"]
ignore = ["E501"]
exclude = ["build", "dist", ".venv", "__pypackages__"]
per-file-ignores = { "__init__.py" = ["F401"] }
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
[project.scripts]
zsim = "zsim.run:main"
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"pyinstaller>=6.13.0",
"pytest>=8.3.5",
"viztracer>=1.0.3",
"objprint>=0.3.0",
"pytest-cov>=5.0.0",
"pytest-asyncio>=1.1.0",
"mypy>=1.17.1",
"ruff>=0.12.12",
]
[project.optional-dependencies]
windows = ["pywin32>=308"]