-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (69 loc) · 2.18 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (69 loc) · 2.18 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
[build-system]
requires = ["scikit-build-core>=0.9.3"]
build-backend = "build_backend"
backend-path = ["."]
[project]
name = "bsk-sdk"
version = "2.12.0b0"
description = "Vendored Basilisk SDK headers, runtime, and CMake integration for extension authors"
readme = "README.md"
license = { text = "ISC" }
requires-python = ">=3.9"
dependencies = [
# Extension authors compile SWIG modules against bsk. The pip swig package
# provides a self-contained binary on all platforms and is detected
# automatically by bsk_add_swig_module.cmake via the Python interpreter.
#
# SWIG 4.4.1+ uses SWIG_RUNTIME_VERSION "5" (epoch 5), which bsk also uses
# from 2.10.1 onward. Both bsk and bsk-sdk require >=4.4.1 to stay on epoch 5.
# The cmake check in bsk_add_swig_module enforces the match at build time.
"swig==4.4.1",
# Required by generatePayloadMetaJson.py, which parses *Payload.h structs at
# extension build time to produce the JSON metadata consumed by generateSWIGModules.py.
"libclang>=15.0.6.1,<=18.1.1",
]
[project.entry-points."cmake.prefix"]
bsk-sdk = "bsk_sdk"
[tool.scikit-build]
wheel.packages = ["bsk_sdk"]
# SDK sources and headers are compiled into each extension at extension build time,
# so this wheel carries no native artifacts and is genuinely platform-neutral.
wheel.py-api = "py3"
wheel.platlib = false
wheel.install-dir = "bsk_sdk"
sdist.inclusion-mode = "explicit"
sdist.include = [
"pyproject.toml",
"build_backend.py",
"README.md",
"CMakeLists.txt",
"cmake/**",
"src/bsk_sdk/include/**",
"src/bsk_sdk/include_compat/**",
"src/bsk_sdk/arch_min/**",
"src/bsk_sdk/arch_utilities/**",
"src/bsk_sdk/runtime_min/**",
"src/bsk_sdk/swig/**",
"src/bsk_sdk/rust/**",
"src/bsk_sdk/message_templates/**",
"tools/**",
"src/bsk_sdk/__init__.py",
"src/bsk_sdk/_bsk_version.txt",
]
sdist.exclude = [
".github/**",
"build/**",
"dist/**",
"docs/**",
"examples/**",
"external/**",
"tests/**",
".DS_Store",
"**/.DS_Store",
"**/__pycache__/**",
"**/*.pyc",
]
[tool.scikit-build.cmake]
version = ">=3.26"
# Eigen3 is fetched automatically by CMake (FetchContent) if not found locally —
# no before-all installation step needed on any platform.