forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (78 loc) · 2.29 KB
/
Copy pathpyproject.toml
File metadata and controls
88 lines (78 loc) · 2.29 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
81
82
83
84
85
86
87
[build-system]
requires = ["scikit-build-core>=0.10"]
build-backend = "scikit_build_core.build"
[project]
name = "root"
version = "0.1a14"
requires-python = ">=3.10"
maintainers = [
{name = "Vincenzo Eduardo Padulano", email = "vincenzo.eduardo.padulano@cern.ch"}
]
description = "Analyzing petabytes of data, scientifically."
readme = "README.md"
license = {file = "LICENSE"}
dependencies = [
"numpy",
]
# Point backend to python packages and to explicitly use Ninja
[tool.scikit-build]
wheel.packages = [
"bindings/pyroot/pythonizations/python/ROOT",
"bindings/pyroot/cppyy/cppyy/python/cppyy",
]
cmake.args = [
"-GNinja",
]
[tool.scikit-build.cmake.define]
# CMake install directories
CMAKE_INSTALL_BINDIR = "ROOT/bin"
CMAKE_INSTALL_CMAKEDIR = "ROOT/cmake"
CMAKE_INSTALL_FONTDIR = "ROOT/fonts"
CMAKE_INSTALL_ICONDIR = "ROOT/icons"
CMAKE_INSTALL_INCLUDEDIR = "ROOT/include"
CMAKE_INSTALL_LIBDIR = "ROOT/lib"
CMAKE_INSTALL_MACRODIR = "ROOT/macros"
CMAKE_INSTALL_MANDIR = "ROOT/man"
CMAKE_INSTALL_PYTHONDIR = "."
CMAKE_INSTALL_SYSCONFDIR = "ROOT/etc"
CMAKE_INSTALL_TUTDIR = "ROOT/tutorials"
# Generic minimal build config
gminimal="ON"
asimage="ON"
opengl="OFF"
runtime_cxxmodules="ON"
fail-on-missing="ON"
# Explicitly list components that gminimal implicitly turns off as documentation
# tmva-pymva and tpython are disabled for manylinux compatibility
# see https://peps.python.org/pep-0513/#libpythonx-y-so-1
tmva-pymva="OFF"
tpython="OFF"
thisroot_scripts="OFF" # the thisroot.* scripts are broken if CMAKE_INSTALL_PYTHONDIR!=CMAKE_INSTALL_LIBDIR
# Builtins
builtin_nlohmannjson="ON"
builtin_tbb="ON"
builtin_xrootd="ON"
builtin_tiff="ON"
builtin_lz4="ON"
builtin_fftw3="ON"
builtin_gsl="ON"
builtin_lzma="ON"
builtin_zstd="ON"
builtin_xxhash="ON"
pyroot="ON"
dataframe="ON"
xrootd="ON"
ssl="ON"
imt="ON"
roofit="ON"
mathmore="ON"
# Expose the ROOT cli as an executable command via _rootcli wrapper
[project.scripts]
root = "ROOT._rootcli:main"
[tool.cibuildwheel]
build-frontend = { name = "build" }
build-verbosity = 1
manylinux-x86_64-image = "manylinux_2_28"
# Install system libraries
[tool.cibuildwheel.linux]
before-all = "dnf install -y epel-release && /usr/bin/crb enable && dnf install -y openssl-devel libX11-devel libXpm-devel libXft-devel libXext-devel libuuid-devel libjpeg-devel giflib-devel libtiff-devel"