-
Notifications
You must be signed in to change notification settings - Fork 53
/
pyproject.toml
49 lines (40 loc) · 1.41 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
[build-system]
requires = ["scikit-build-core >=0.4.3", "pybind11 >2.10.0"]
build-backend = "scikit_build_core.build"
[project]
name = "small_gicp"
version = "1.0.0"
authors = [{name = "Kenji Koide", email = "[email protected]"}]
description = "Efficient and parallelized algorithms for fine point cloud registration"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.7"
[project.urls]
Homepage = "https://github.com/koide3/small_gicp"
[tool.setuptools]
zip_safe = false
[tool.scikit-build]
wheel.license-files = ["LICENSE"]
install.components = ["python"]
build-dir = "build/{wheel_tag}"
wheel.py-api = "cp312" # Build stable ABI wheels for CPython 3.12+
[tool.scikit-build.cmake.define]
BUILD_PYTHON_BINDINGS = true
BUILD_HELPER = false
BUILD_SHARED_LIBS = false
[tool.cibuildwheel.linux]
before-all = "yum install -y libomp-devel"
[tool.cibuildwheel.macos]
before-all = "brew install eigen libomp"
environment = { OpenMP_ROOT="/opt/homebrew/opt/libomp" }
[tool.cibuildwheel.windows]
before-all = "choco install eigen -y"
test-command = "cd /d {project} && pytest {project}/src --color=yes -v"
[tool.cibuildwheel]
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
build = "*"
skip = "pp* *-win32 *_i686 *musllinux*" # Don't build for PyPy, Win32, i686
test-requires = "pytest numpy scipy"
test-command = "cd {project} && pytest {project}/src --color=yes -v"
build-verbosity = 1