-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
42 lines (37 loc) · 1.09 KB
/
pyproject.toml
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
[build-system]
requires = [
"scikit-build",
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
build = "cp39-*"
before-all = [
"pipx install cmake",
"cmake --version",
"pipx install ninja",
"ninja --version",
]
before-build = "pip install -r requirements-repair.txt"
repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}"
test-extras = "test"
test-command = "pytest {project}/tests"
[tool.cibuildwheel.linux]
before-all = [
"pipx install cmake",
"cmake --version",
"pipx install ninja",
"ninja --version",
"./scripts/manylinux-build-and-install-openssl.sh",
]
build-verbosity = "1"
manylinux-x86_64-image = "manylinux1"
manylinux-i686-image = "manylinux1"
[tool.cibuildwheel.linux.environment]
SKBUILD_CONFIGURE_OPTIONS = "-DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl -DCMAKE_JOB_POOL_COMPILE:STRING=compile -DCMAKE_JOB_POOL_LINK:STRING=link -DCMAKE_JOB_POOLS:STRING=compile=2;link=1"
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.10"
[tool.isort]
profile = "black"
multi_line_output = 3