-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
40 lines (31 loc) · 1.02 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
[build-system]
requires = [
"setuptools",
"setuptools_scm[toml]>=3.4.1",
"wheel",
"numpy",
"Cython>=3.0a7",
"pkgconfig",
"cysignals;platform_system != \"Windows\"",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.cibuildwheel]
archs = ["native"]
skip = "{cp,pp}27-* {cp,pp}35-* pp* *-musllinux*"
build-frontend = "build"
test-command = "pytest {package}/tests -v"
before-test = ""
test-requires = ["pytest", "glfw"]
test-extras = []
manylinux-x86_64-image = "manylinux2014"
[tool.cibuildwheel.linux]
before-all = "yum --disablerepo=epel -y update ca-certificates && yum install -y glew-devel"
[tool.cibuildwheel.macos]
before-all = "brew install glew"
[tool.cibuildwheel.macos.environment]
LDFLAGS = "-headerpad_max_install_names"
PKG_CONFIG_PATH = "/tmp/libjpeg-turbo-build/lib/pkgconfig:/tmp/vendor/lib/pkgconfig"
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel} --add-path src\\pyglui\\cygl\\win_glew"