-
Notifications
You must be signed in to change notification settings - Fork 51
/
pyproject.toml
50 lines (41 loc) · 1.25 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
43
44
45
46
47
48
49
50
[build-system]
requires = [
"setuptools",
"setuptools_scm[toml]>=3.4.1",
"wheel",
"Cython",
"numpy",
"scikit-build",
"cmake",
"ninja;platform_system != \"Windows\"",
"pupil_pthreads_win; platform_system == \"Windows\"",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.cibuildwheel]
archs = ["native"]
skip = "{cp,pp}27-* {cp,pp}35-* pp*"
build-frontend = "build"
test-command = "pytest {package}/tests -v"
before-test = ""
test-requires = ["pytest"]
test-extras = []
manylinux-x86_64-image = "manylinux2014"
[tool.cibuildwheel.windows]
environment = { DEPS_PATHS_LOC = "tmp/dep_paths.json" }
before-all = "powershell scripts/download-deps-win.ps1 -DEPS_TMP_PATH tmp"
before-build = "pip install delvewheel pupil-pthreads-win"
repair-wheel-command = "python scripts/repair-wheels-win.py tmp/dep_paths.json {wheel} {dest_dir}"
[tool.cibuildwheel.macos]
before-all = ["brew install automake", "{project}/scripts/build-deps-unix.sh"]
[tool.cibuildwheel.linux]
before-all = [
"yum install -y libudev-devel",
"{project}/scripts/build-deps-manylinux.sh",
]
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = [
"apk add eudev-dev nasm",
"{project}/scripts/build-deps-manylinux.sh",
]