-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
68 lines (61 loc) · 1.68 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[project]
name = "velodyne-decoder"
version = "3.0.0"
description = "Decoder for raw Velodyne packet data"
readme = "README.md"
requires-python = ">= 3.8"
authors = [{name = "Martin Valgur", email = "[email protected]"}]
urls."Homepage" = "https://github.com/valgur/velodyne_decoder"
urls."Bug Reports" = "https://github.com/valgur/velodyne_decoder/issues"
urls."Source" = "https://github.com/valgur/velodyne_decoder"
keywords = [
"Velodyne",
"pointcloud",
"PCL",
]
license = {text = "BSD-3-Clause"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"numpy",
"importlib_resources",
"dpkt",
"pyyaml",
]
[project.scripts]
extract-hdl64e-calibration = "velodyne_decoder.hdl64e:cli"
[tool.setuptools]
zip-safe = false
include-package-data = true
[build-system]
requires = [
"scikit-build-core >=0.4.3",
"conan >=2.0.5",
"pybind11"
]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
cmake.minimum-version = "3.15"
cmake.targets = ["python_bindings"]
install.components = ["python"]
wheel.license-files = ["LICENSE"]
build-dir = "build/{wheel_tag}"
# Build stable ABI wheels for CPython 3.12+
wheel.py-api = "cp312"
[tool.scikit-build.cmake.define]
BUILD_PYTHON = true
BUILD_SHARED_LIBS = false
[tool.cibuildwheel]
build = "*"
# Disable building of PyPy wheels on all platforms
skip = "pp*"
before-test = "pip install -r {project}/requirements-dev.txt"
test-command = "pytest {project}/test --color=yes -v"
build-verbosity = 1
archs = "auto64"
# Needed for full C++17 support
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.15"