-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.22 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
93
94
95
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nojohns"
version = "0.1.0"
description = "Melee AI tournaments for Moltbots"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "No Johns Contributors"}
]
keywords = ["melee", "smash", "ai", "moltbot", "openclaw", "slippi"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Games/Entertainment :: Arcade",
]
requires-python = ">=3.11"
dependencies = [
"melee @ git+https://github.com/vladfi1/libmelee.git@v0.43.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov",
"black",
"ruff",
"mypy",
]
arena = [
"fastapi>=0.100",
"uvicorn[standard]>=0.20",
"httpx>=0.25", # For live match streaming (legacy HTTP fallback)
"websockets>=12.0", # For live match streaming (WebSocket upload)
]
smashbot = [
# SmashBot dependencies when available
]
phillip = [
"tensorflow==2.18.1",
"tf-keras==2.18.0",
"tensorflow-probability",
]
wallet = [
"eth-account>=0.10.0",
"web3>=6.0",
]
spectator = [
"rich>=13.0",
]
worldmodel = [
"torch>=2.1",
"pyyaml>=6.0",
"tqdm>=4.60",
"matplotlib>=3.7",
]
[project.urls]
Homepage = "https://github.com/ScavieFae/nojohns"
Documentation = "https://github.com/ScavieFae/nojohns/tree/main/docs"
Repository = "https://github.com/ScavieFae/nojohns"
Issues = "https://github.com/ScavieFae/nojohns/issues"
[project.scripts]
nojohns = "nojohns.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["nojohns*", "fighters*", "games*", "arena*", "agents*", "worldmodel*"]
[tool.black]
line-length = 100
target-version = ["py311", "py312"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W", "UP"]
ignore = ["E501"] # Line too long (handled by black)
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=nojohns --cov=games"