-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.45 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
[build-system]
requires = ["scikit-build-core>=0.10"]
build-backend = "scikit_build_core.build"
[project]
name = "xatlas"
requires-python = ">=3.8"
version = "0.0.10"
authors = [{name = "Markus Worchel", email = "[email protected]"}]
license = {file = "LICENSE"}
description = "Python bindings for xatlas"
urls = {Homepage = "https://github.com/mworchel/xatlas-python"}
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
test = ["numpy",
"pytest",
"scipy",
"trimesh"]
[tool.scikit-build]
wheel.expand-macos-universal-tags = true
# Protect the configuration against future changes in scikit-build-core
minimum-version = "build-system.requires"
# Setuptools-style build caching in a local directory
build-dir = "build/{wheel_tag}"
[tool.cibuildwheel]
# Run the package tests on every wheel using `pytest`
test-command = "pytest {package}/tests"
# will install pytest and other packages in the `test` extra
test-extras = ["test"]
# Skip testing of PyPy and 32-bit wheels
test-skip = ["pp*", "*win32", "*i686", "*-musllinux*"]
# Needed for full C++17 support
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14"
# Install OpenBLAS on linux (required for scipy in tests)
[tool.cibuildwheel.linux]
before-all = "yum install -y openblas-devel"
# Skip OpenBLAS installation on untested variants
[[tool.cibuildwheel.overrides]]
select = ["*i686", "*-musllinux*"]
before-all = ""