Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
42 lines (36 loc) · 1.49 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
[build-system]
requires = ["scikit-build-core[pyproject]>=0.11", "nanobind>=2.5.0"]
build-backend = "scikit_build_core.build"
[project]
name = "fenics-basix"
version = "0.12.0.dev0"
description = "Basix Python interface"
readme = "../README.md"
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ email = "fenics-steering-council@googlegroups.com" },
{ name = "FEniCS Steering Council" },
]
dependencies = ["numpy>=2"]
[project.urls]
homepage = "https://fenicsproject.org"
repository = "https://github.com/fenics/basix.git"
documentation = "https://docs.fenicsproject.org"
[project.optional-dependencies]
# llvmlite (numba) is not built for x86_64 on macOS or arm64 on Windows.
optional = ["numba; (sys_platform != 'darwin' or platform_machine != 'x86_64') and (sys_platform != 'win32' or platform_machine != 'ARM64')", "fenics-ufl>=2026.3.0.dev0"]
[dependency-groups]
# Keep in sync with [build-system].requires above.
build = ["scikit-build-core[pyproject]>=0.11", "nanobind>=2.5.0"]
docs = ["markdown", "pylit3", "pyyaml", "sphinx", "pydata-sphinx-theme"]
lint = ["ruff", "gersemi"]
test = ["pytest", "sympy", "scipy", "matplotlib", "fenics-basix[optional]"]
ci = ["pyrefly", "pytest-xdist", { include-group = "docs" }, { include-group = "lint" }, { include-group = "test" }]
[tool.scikit-build]
wheel.packages = ["basix"]
wheel.exclude = ["*.cpp"]
[tool.scikit-build.cmake.define]
# Set to FALSE to disable all install RPATH adjustments
BASIX_SET_INSTALL_RPATH = "TRUE"