11[build-system ]
2- requires = [
3- " setuptools>=42" ,
4- " wheel" ,
5- " ninja; sys_platform != 'win32'" ,
6- " cmake>=3.12" ,
7- ]
8- build-backend = " setuptools.build_meta"
2+ requires = [" scikit-build-core>=0.10" ]
3+ build-backend = " scikit_build_core.build"
94
105[project ]
116name = " xatlas"
@@ -15,24 +10,41 @@ authors = [{name = "Markus Worchel", email = "m.worchel@campus.tu-berlin.de"}]
1510license = {file = " LICENSE" }
1611description = " Python bindings for xatlas"
1712urls = {Homepage = " https://github.com/mworchel/xatlas-python" }
18- dependencies = [" numpy" ]
1913
2014[project .readme ]
2115file = " README.md"
2216content-type = " text/markdown"
2317
2418[project .optional-dependencies ]
25- test = [" trimesh " ,
19+ test = [" numpy " ,
2620 " pytest" ,
27- " scipy" ]
21+ " scipy" ,
22+ " trimesh" ]
23+
24+ [tool .scikit-build ]
25+ wheel.expand-macos-universal-tags = true
26+ # Protect the configuration against future changes in scikit-build-core
27+ minimum-version = " build-system.requires"
28+ # Setuptools-style build caching in a local directory
29+ build-dir = " build/{wheel_tag}"
2830
2931[tool .cibuildwheel ]
3032# Run the package tests on every wheel using `pytest`
3133test-command = " pytest {package}/tests"
3234# will install pytest and other packages in the `test` extra
3335test-extras = [" test" ]
34- # Skip PyPy on Windows as it doesn't appear to have numpy wheels
35- skip = [" pp*-win*" , " *musllinux_i686" ]
36+ # Skip testing of PyPy and 32-bit wheels
37+ test-skip = [" pp*" , " *win32" , " *i686" , " *-musllinux*" ]
38+
39+ # Needed for full C++17 support
40+ [tool .cibuildwheel .macos .environment ]
41+ MACOSX_DEPLOYMENT_TARGET = " 10.14"
42+
43+ # Install OpenBLAS on linux (required for scipy in tests)
44+ [tool .cibuildwheel .linux ]
45+ before-all = " yum install -y openblas-devel"
3646
37- [tool .setuptools ]
38- license-files = []
47+ # Skip OpenBLAS installation on untested variants
48+ [[tool .cibuildwheel .overrides ]]
49+ select = [" *i686" , " *-musllinux*" ]
50+ before-all = " "
0 commit comments