-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 2.09 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
[build-system]
requires = [
"scikit-build-core>=0.8.0",
"pybind11>=2.11.0",
]
build-backend = "scikit_build_core.build"
[project]
name = "deme"
dynamic = ["version"]
description = "Python bindings for DEM-Engine 2, a GPU-accelerated discrete element method engine"
readme = "README.md"
authors = [
{ name = "Ruochun Zhang", email = "ruochunz@gmail.com" },
]
license = { text = "BSD-3-Clause" }
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"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",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = ["numpy>=1.19.0"]
[project.optional-dependencies]
dev = ["pytest>=6.0", "pybind11>=2.11.0"]
[project.urls]
Homepage = "https://github.com/projectchrono/DEM-Engine"
Repository = "https://github.com/projectchrono/DEM-Engine"
Documentation = "https://github.com/projectchrono/DEM-Engine"
[tool.scikit-build]
cmake.build-type = "Release"
cmake.verbose = true
minimum-version = "0.8"
build-dir = "build/{wheel_tag}"
[tool.scikit-build.metadata.version]
provider = "scikit_build_core.metadata.regex"
input = "VERSION"
regex = '''^(?P<value>\d+\.\d+\.\d+)\s*$'''
[tool.scikit-build.cmake.define]
DEME_BUILD_PYTHON = "ON"
DEME_BUILD_DEMOS = "OFF"
USE_HIP = "OFF"
[tool.cibuildwheel]
build = "cp3{9,10,11,12,13,14}-manylinux_x86_64"
skip = "*-musllinux_*"
build-verbosity = 1
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "quay.io/manylinux_cuda/manylinux_2_28_x86_64_cuda12_9:latest"
before-all = "dnf install -y cuda-nvrtc-12-9 cuda-nvrtc-devel-12-9 && dnf clean all"
repair-wheel-command = "auditwheel repair --plat manylinux_2_28_x86_64 --exclude libcuda.so.1 --exclude libcudart.so.12 --exclude libnvrtc.so.12 -w {dest_dir} {wheel}"