-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (58 loc) · 1.22 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (58 loc) · 1.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
[build-system]
requires = ["hatchling>=1.25.0"]
build-backend = "hatchling.build"
[project]
name = "tbm"
version = "0.1.0"
description = "Trajectory Bundle Method solver for constrained trajectory optimization."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "OpenAI Codex" }]
dependencies = [
"clarabel>=0.11.0",
"numpy>=1.26.0",
]
[project.optional-dependencies]
cvxpy = [
"cvxpy>=1.7.0",
]
examples = [
"matplotlib>=3.8.0",
]
mjwarp = [
"mujoco-warp>=3.6.0",
]
[dependency-groups]
dev = [
"cvxpy>=1.7.0",
"matplotlib>=3.8.0",
"pytest>=8.3.0",
"pytest-cov>=5.0.0",
"ruff>=0.11.0",
]
[[tool.uv.index]]
name = "nvidia"
url = "https://pypi.nvidia.com/"
explicit = true
[[tool.uv.index]]
name = "mujoco"
url = "https://py.mujoco.org/"
explicit = true
[tool.uv.sources]
warp-lang = { index = "nvidia" }
mujoco = { index = "mujoco" }
[tool.hatch.build.targets.wheel]
packages = ["tbm"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-m 'not gpu'"
markers = [
"gpu: requires MJWarp and an NVIDIA GPU",
"slow: slower end-to-end solver or simulation tests",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B"]