-
Notifications
You must be signed in to change notification settings - Fork 122
/
pyproject.toml
48 lines (43 loc) · 1.3 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"Cython",
"numpy>=1.18.0",
]
[tool.cibuildwheel]
skip = ["pp*"] # Do not build for PyPy
## Windows build configuration
[tool.cibuildwheel.windows]
archs = ["x86", 'AMD64']
#before-test = [# Unittest for windows
# "pip install -r \"{project}\\requirements-test.txt\"",
#]
#test-command = [
# # "xcopy /e /i \"{project}\\lzero\" lzero",
# "copy \"{project}\\pytest.ini\" pytest.ini",
# "pytest lzero -sv -m unittest --log-level=DEBUG",
#]
## macOS build configuration
[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"] # Build for x86_64 and arm64
#before-test = [# Unittest for macos
# "pip install -r {project}/requirements-test.txt",
#]
#test-command = [
# # "cp -rf {project}/lzero lzero",
# "cp {project}/pytest.ini pytest.ini",
# "pytest lzero -sv -m unittest --log-level=DEBUG",
#]
## Linux build configuration
[tool.cibuildwheel.linux]
archs = ["x86_64", "aarch64"] # Build for x86_64 and arm64
skip = ["pp* *musllinux*"] # dependencies do not build for musl
#before-test = [# Unittest for linux
# "pip install -r {project}/requirements-test.txt",
#]
#test-command = [
# # "cp -rf {project}/lzero lzero",
# "cp {project}/pytest.ini pytest.ini",
# "pytest lzero -sv -m unittest --log-level=DEBUG",
#]