-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (42 loc) · 1.19 KB
/
pyproject.toml
File metadata and controls
47 lines (42 loc) · 1.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
[build-system]
requires = [
"fenics-dolfinx",
"multiphenicsx"
]
#build-backend = "scikit_build_core.build"
[project]
name = "mhs_fenicsx"
version = "0.8.0.dev0"
description = "Hello!"
readme = "README.md"
requires-python = ">=3.9"
#license = { file = "LICENSE" }
authors = [
{ email = "mehdi.slimani.elmaddarsi@gmail.com" },
{ name = "Mehdi Slimani" },
]
#dependencies = ["numpy>=1.21"]
#[tool.scikit-build]
#minimum-version = "0.5"
#cmake.minimum-version = "3.19.0"
#wheel.packages = ["mhs_fenicsx"]
[tool.cibuildwheel]
build = [
"cp{39,310,311,312}-manylinux_x86_64",
"cp{39,310,311,312}-manylinux_aarch64",
"cp{39,310,311,312}-macosx_x86_64",
"cp{39,310,311,312}-macosx_arm64",
]
manylinux-x86_64-image = "manylinux_2_28"
[tool.cibuildwheel.linux]
archs = [
"x86_64",
"aarch64",
] # Forces arm64 build on x86_64 runner using emulation.
before-build = "yum -y update && yum install -y epel-release && yum install -y openblas-devel ninja-build"
[tool.cibuildwheel.macos]
archs = [
"x86_64",
"arm64",
] # Forces arm64 build on x86_64 runner using cross-compilation.
before-build = "export HOMEBREW_AUTO_UPDATING=0 && brew update && brew install ninja"