-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
46 lines (39 loc) · 1.55 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
# Here is the project metadata, adapt it to your needs
[project]
name = "ngsolve_special_functions"
description="Additional coefficient functions based on slatec"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [] # ngsolve will be added automatically
dynamic = ["version", "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.2404.post16", "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
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
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"]