Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (60 loc) · 2.03 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 = ["scikit-build-core>=0.10", "pybind11>=2.10", "setuptools-scm>=8"]
build-backend = "scikit_build_core.build"
[project]
name = "vdsim"
dynamic = ["version"]
description = "VDSim — open-core vehicle-dynamics simulator (validated L1–L3 dynamics, Pacejka MF, hardpoint kinematics, FMI 2.0)"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "Apache-2.0" }
authors = [{ name = "Jiwon Seok" }]
keywords = ["vehicle-dynamics", "simulation", "pacejka", "fmi", "autonomous-driving"]
dependencies = ["numpy", "pyyaml"]
[project.optional-dependencies]
plot = ["matplotlib", "pillow"]
[project.scripts]
vdsim-quickstart = "quickstart:main"
vdsim-render = "vdsim_render:main"
vdsim-render3d = "vdsim_render3d:main"
vdsim-campaign = "vdsim_campaign:main"
[project.urls]
Homepage = "https://onlyti.github.io/VDSim/"
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
local_scheme = "no-local-version"
[tool.scikit-build]
minimum-version = "0.10"
build-dir = "build/skbuild"
# build only the pybind module; skip tests/examples/carla/cosim for a lean wheel
cmake.args = [
"-DVDSIM_BUILD_PYTHON=ON",
"-DVDSIM_BUILD_TESTS=OFF",
"-DVDSIM_BUILD_EXAMPLES=OFF",
"-DVDSIM_BUILD_CARLA_PLUGIN=OFF",
"-DVDSIM_BUILD_COSIM=OFF",
]
wheel.install-dir = "."
# The sdist is the source tree minus build/run outputs, tyre .tir files (none
# is published; the MF2002 tests read the public synthetic one from git) and
# the folder kept for withheld validation data;
# tools/verify_wheel_packaging.py checks the result.
# Build directories are listed here as well as in .gitignore: its
# "!CMakeLists.txt" line would otherwise pull their CMakeLists.txt back in.
sdist.exclude = [
"**/results/",
"**/runs/",
"**/logs/",
"build/",
"build-*/",
"build_*/",
"cmake-build-*/",
"out/",
"dist/",
"*.tir",
"tests/validation/carmaker/",
]
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.setuptools_scm"
[tool.scikit-build.cmake.define]
CMAKE_BUILD_TYPE = "Release"