-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (40 loc) · 1.58 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
# Here is the project metadata, adapt it to your needs
[project]
name = "ng_mesh_cutting"
version = "0.0.1"
description="Netgen mesh cutting algorithm"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [] # ngsolve will be added automatically
dynamic = ["dependencies"]
classifiers = [
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
]
# Update NGSolve when you rely on newer features, but keep the '>=' to allow also newer versions
# Maybe you also need to add other requirements to build your package
[build-system]
requires = ["ngsolve>=6.2.2404.post109.dev0", "scikit-build-core>=0.9.0", "pybind11_stubgen", "cmake", "toml"]
build-backend = "scikit_build_core.build"
##########################################################################
# Settings for cibuildwheel to build .whl files for Windows/Mac/Linxu
# DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
##########################################################################
[tool.scikit-build]
experimental = true
# This adds ngsolve (with exact build-time version) to the dependencies
metadata.dependencies.provider="ngsolve._scikit_build_core_dependencies"
[tool.setuptools_scm]
local_scheme = "no-local-version"
[tool.cibuildwheel]
skip = """
pp*
*_i686
*musllinux*
*win32
"""
[tool.cibuildwheel.linux]
repair-wheel-command = "mv {wheel} {dest_dir} && rename linux_x86_64 manylinux_2_17_x86_64.manylinux2014_x86_64 {dest_dir}/*-linux_x86_64*.whl"
[tool.cibuildwheel.macos]
environment = {MACOSX_DEPLOYMENT_TARGET="10.15"}
repair-wheel-command = ""
archs = ["universal2"]