-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (72 loc) · 2.19 KB
/
pyproject.toml
File metadata and controls
80 lines (72 loc) · 2.19 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = [
"scikit-build-core>=0.8.0",
]
build-backend = "scikit_build_core.build"
[project]
name = "polyfem-polysolve"
version = "0.0.1"
description = "Python bindings for PolySolve nonlinear optimization and linear solvers"
authors = [
{ name = "Teseo Schneider", email = "teseo@uvic.ca" }
]
license = { text = "MIT" }
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.9"
keywords = ["Optimization", "Newton", "Linear Solvers", "Python Bindings"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: C++",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent"
]
dependencies = [
"numpy",
"scipy",
]
[project.optional-dependencies]
test = [
"pytest>=8",
]
[project.urls]
Homepage = "https://github.com/polyfem/polysolve-python"
Repository = "https://github.com/polyfem/polysolve-python"
Issues = "https://github.com/polyfem/polysolve-python/issues"
# ---------- scikit-build-core ----------
[tool.scikit-build]
cmake.version = ">=3.18"
build-dir = "_skbuild/{wheel_tag}"
cmake.args = [
"-DPYBIND11_FINDPYTHON=ON",
"-DCMAKE_BUILD_TYPE=Release",
"-DPOLYSOLVE_WITH_AMGCL=OFF",
"-DCMAKE_CXX_STANDARD=17",
"-DCMAKE_CXX_STANDARD_REQUIRED=ON",
"-DCMAKE_CXX_EXTENSIONS=OFF",
]
wheel.exclude = [
"**/.git/**/*" # no embedded Git repos
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
skip = "pp* *-musllinux*"
test-extras = ["test"]
test-command = "pytest {project}/tests -q"
[tool.cibuildwheel.linux]
archs = ["x86_64"]
[tool.cibuildwheel.windows]
archs = ["AMD64"]
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"