-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (43 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
53 lines (43 loc) · 1.48 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
[build-system]
requires = ["scikit-build-core>=0.8", "pybind11", "cmake>=3.15", "ninja"]
build-backend = "scikit_build_core.build"
[project]
name = "vbcsr"
version = "0.2.2"
description = "Variable Block Compressed Sparse Row Matrix with MPI support"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "AGPL-3.0"}
authors = [
{name = "zhanghao", email = "yinzhanghao.zhou@mail.mcgill.ca"},
]
dependencies = [
"numpy",
"scipy",
"ase"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering :: Mathematics",
]
[project.optional-dependencies]
mpi = ["mpi4py"]
[tool.scikit-build]
# Install the python package 'vbcsr'
wheel.packages = ["vbcsr"]
# CMake configuration
build.verbose = true
logging.level = "INFO"
[tool.cibuildwheel]
build-verbosity = 1
# Skip 32-bit builds, musllinux, and PyPy
skip = ["*-manylinux_i686", "*-musllinux_*", "pp*"]
# Use manylinux_2_28 (AlmaLinux 8) to avoid CentOS 7 EOL issues
manylinux-x86_64-image = "manylinux_2_28"
[tool.cibuildwheel.linux]
before-all = "dnf install -y openmpi-devel openblas-devel"
environment = { PATH="/usr/lib64/openmpi/bin:$PATH", LD_LIBRARY_PATH="/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH", PKG_CONFIG_PATH="/usr/lib64/openmpi/lib/pkgconfig:$PKG_CONFIG_PATH" }
# Ensure CMake finds the right MPI
config-settings = "cmake.define.VBCSR_ENABLE_TESTS=OFF"