-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (59 loc) · 1.5 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tool.cibuildwheel]
build = "*"
skip = ""
test-skip = ""
archs = ["auto"]
build-frontend = "pip"
config-settings = {}
dependency-versions = "pinned"
environment = {}
environment-pass = []
build-verbosity = 1
before-all = ""
repair-wheel-command = ""
test-command = ""
before-test = ""
test-requires = []
test-extras = []
container-engine = "docker"
manylinux-x86_64-image = "manylinux_2_28"
[build-system]
requires = [
"setuptools==68.2.0",
"wheel",
"Cython",
"pybind11",
"setuptools_scm[toml]>=3.4",
"cmake",
"taichi==1.7.2",
]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.9, <3.13"
name = "braintaichi"
version = "0.0.4"
[tool.cibuildwheel.linux]
before-all = "sh ci/linux/gpu/prepare_build_wheel_on_cuda.sh"
before-build = "sh copy_so_linux.sh"
#before-build = "pip install -r requirements-test.txt"
archs = ["x86_64"]
skip = ["pp*", "*-musllinux_x86_64"]
repair-wheel-command = """
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH &&
auditwheel repair -w {dest_dir} {wheel}
"""
[tool.cibuildwheel.macos]
before-build = "sh copy_so_macOS.sh"
archs = ["x86_64", "arm64"]
skip = ["pp*"]
repair-wheel-command = """
export LD_LIBRARY_PATH=/project/braintaichi:$LD_LIBRARY_PATH &&
delocate-wheel -w {dest_dir} -v {wheel}
"""
[tool.cibuildwheel.windows]
before-build = "copy_dll_windows.bat"
archs = ["AMD64", "x86"]
repair-wheel-command = """
set PATH=braintaichi;%PATH% && delvewheel repair -w {dest_dir} {wheel}
"""
skip = ["pp*", "*-win32"]