Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (90 loc) · 3.96 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (90 loc) · 3.96 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
88
89
90
91
92
93
94
95
96
97
98
99
100
# Copyright (c) 2025, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Intel Corporation nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.13.0",
"ninja",
"Cython>=3.1.0",
"mkl-devel",
"cmake"
]
[project]
authors = [{ name = "Intel Corporation" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Free Threading :: 2 - Beta",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: Utilities",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix"
]
dependencies = []
description = "Python hooks for Intel® oneAPI Math Kernel Library (oneMKL) runtime control settings"
dynamic = ["version"]
keywords = ["MKL"]
license = "BSD-3-Clause"
name = "mkl-service"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10,<3.16"
[project.optional-dependencies]
test = ["pytest"]
[project.urls]
Download = "https://github.com/IntelPython/mkl-service"
Homepage = "https://github.com/IntelPython/mkl-service"
[tool.black]
line-length = 80
[tool.cibuildwheel]
build-verbosity = 1
[tool.cibuildwheel.linux]
# The hardening flags conda-forge's compilers set for the conda packages
environment = { CFLAGS = "-fstack-protector-strong", CPPFLAGS = "-D_FORTIFY_SOURCE=2", LDFLAGS = "-Wl,-z,relro -Wl,-z,now" }
# MKL comes from the mkl wheel at run time, see [tool.gh-ci]
# Tagged as the mkl wheel is, as auditwheel doesn't check the excluded library
repair-wheel-command = "auditwheel repair --plat manylinux_2_28_x86_64 --only-plat --exclude 'libmkl_rt.so.*' -w {dest_dir} {wheel}"
[tool.cibuildwheel.windows]
# MSVC, as python.org builds CPython with, not the runner's MinGW
config-settings = { setup-args = "--vsenv" }
# MKL comes from the mkl wheel at run time, see [tool.gh-ci]
repair-wheel-command = "delvewheel repair --no-dll mkl_rt.*.dll -w {dest_dir} {wheel}"
[tool.gh-ci]
# What the wheels need at run time, which conda packages get from the recipe:
# mkl >= the mkl-devel version the build used, < its next major
pin-compatible = { mkl = "mkl-devel" }
[tool.isort]
line_length = 80
profile = "black"