-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
46 lines (42 loc) · 1.22 KB
/
pyproject.toml
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
[project]
name = "dpc"
version = "0.1.0"
description = "making Differentiable Predictive Control work on cars"
readme = "README.md"
requires-python = "~=3.12"
authors = [{ name = "Tudor Oancea", email = "[email protected]" }]
dependencies = [
# misc utilities
"strongpods>=2.1.0",
"icecream>=2.1.3",
"tqdm>=4.66.5",
# basic numerical packages
"numpy>=2.0.0",
"scipy>=1.14.1",
# optimization
"qpsolvers[osqp]>=4.3.3",
"casadi>=3.6.7",
# deep learning
"torch>=2.4.0",
"lightning>=2.4.0",
# visualization
"matplotlib>=3.9.2",
"pyqt5>=5.15; sys_platform == 'linux'",
]
[project.scripts]
plot_track = "dpc.entry_points:plot_track"
closed_loop_nmpc = "dpc.entry_points:closed_loop_nmpc"
codegen_nmpc = "dpc.entry_points:codegen_nmpc"
create_dpc_dataset = "dpc.entry_points:create_dpc_dataset"
train_dpc = "dpc.entry_points:train_dpc"
open_loop_dpc = "dpc.entry_points:open_loop_dpc"
closed_loop_dpc = "dpc.entry_points:closed_loop_dpc"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pyright]
typeCheckingMode = "off"
venv = ".venv"
venvPath = "."
[tool.hatch.metadata]
allow-direct-references = true # to allow the syntax 'pkg @ url' in dependencies