-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
55 lines (48 loc) · 1.73 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
# Here is the project metadata, adapt it to your needs
[project]
name = "ngsolve_addon_template"
version = "0.0.1"
description="A minimal example for an NGSolve addon"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [] # ngsolve will be added automatically
dynamic = ["dependencies"]
classifiers = [
"License :: OSI Approved :: MIT License",
]
# 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.2405.post22.dev0",
"scikit-build-core>=0.9.0",
"pybind11_stubgen",
"cmake",
"toml; python_version >= '3.11'",
"tomli>=1.1.0; python_version < '3.11'"
]
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]
manylinux-x86_64-image = "manylinux_2_28"
skip = """
pp*
*_i686
*musllinux*
*win32
"""
[tool.cibuildwheel.linux]
repair-wheel-command = "mv {wheel} {dest_dir} && rename linux_x86_64 manylinux_2_28_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"]