forked from PyYoshi/cChardet
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
33 lines (29 loc) · 916 Bytes
/
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
[build-system]
requires = ["setuptools", "wheel", "cython", "pkgconfig"]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
build-frontend = "build"
skip = ["*-win32"]
archs = ["auto"]
test-requires = ['pytest']
test-command = [
'cd {project}',
'python -m pytest {project}'
]
environment = {INCLUDE_PATH="/usr/local/include/uchardet", LIBRARY_PATH="/usr/local/lib64/"}
before-build = [
"git submodule sync --recursive",
"git submodule update --init --force --recursive --depth=1",
]
[tool.cibuildwheel.macos]
environment = {INCLUDE_PATH="/usr/local/include/uchardet", LIBRARY_PATH="/usr/local/lib/"}
before-build = [
"git submodule sync --recursive",
"git submodule update --init --force --recursive --depth=1",
]
[tool.cibuildwheel.windows]
before-build = [
"git submodule sync --recursive",
"git submodule update --init --force --recursive --depth=1",
"make pip"
]