File size: 1,064 Bytes
c670567
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"

[project]
name = "ai-native-mafia"
version = "0.1.0"
description = "AI-native Mafia game with an authoritative engine and load-bearing AI agents."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
  "gradio[mcp]>=6.18.0",
  "fastapi>=0.115",
  "pydantic>=2.8",
  "spaces>=0.32.0",
  "torch>=2.8.0",
  "transformers>=5.11.0",
  "accelerate>=1.0",
  "safetensors>=0.4",
  "sentencepiece>=0.2",
  "protobuf>=5.0",
  "huggingface_hub>=0.33",
  "requests>=2.32",
  "timm>=1.0",
  "torchvision>=0.23",
  "torchcodec>=0.7",
  "numpy>=1.26",
]

[project.optional-dependencies]
dev = [
  "pytest>=8.0",
  "ruff>=0.8",
]

[project.scripts]
mafia-app = "mafia.server.app:main"
mafia-sim = "mafia.simulation:main"

[tool.hatch.build.targets.wheel]
packages = ["src/mafia"]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]

[tool.ruff]
line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]