Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (63 loc) · 2.08 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (63 loc) · 2.08 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
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "scipy-openblas64"
# 0.3.34-481-g5137bb62
version = "0.3.34.481.3"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: C++",
"License :: OSI Approved :: BSD License",
]
# authors = [
# ]
# maintainers = [
# ]
license = {file = "LICENSE.txt"}
[project.urls]
homepage = "https://github.com/MacPython/openblas-libs"
upstream = "https://github.com/OpenMathLib/OpenBLAS"
[tool.setuptools.packages.find]
# scanning for namespace packages is true by default in pyproject.toml, so
# # you do NOT need to include the following line.
namespaces = true
where = ["local"]
[options]
install_requires = "importlib-metadata ~= 1.0 ; python_version < '3.8'"
[tool.setuptools.package-data]
scipy_openblas64 = ["lib/*", "include/*", "lib/pkgconfig/*", "lib/cmake/openblas/*"]
[tool.cibuildwheel]
before-build = "bash ci-before-build.sh"
repair-wheel-command = "bash ci-repair-wheel.sh {dest_dir} {wheel}"
test-command = "cd {package} && bash ci-test.sh"
environment-pass = [
"NIGHTLY",
"INTERFACE64",
# On emulated architectures, RUNNER_ARCH makes manylinux-install-clang install a
# compiler for the native architecture, which will be much faster.
"RUNNER_ARCH",
]
[tool.cibuildwheel.android]
# The Linux code in ci-repair-wheel.sh isn't relevant to Android, so use the default
# repair command from the cibuildwheel documentation.
repair-wheel-command = "auditwheel repair --ldpaths {ldpaths} -w {dest_dir} {wheel}"
# Mobile platforms only support Python test-commands, not shell scripts.
test-command = """python -c '
import runpy
def run_module(mod_name):
runpy.run_module(mod_name, run_name="__main__", alter_sys=True)
try:
run_module("scipy_openblas32")
except ImportError:
run_module("scipy_openblas64")
'"""
[project.entry-points.pkg_config]
scipy-openblas = 'scipy_openblas64.lib.pkgconfig'