-
Notifications
You must be signed in to change notification settings - Fork 47
/
pyproject.toml
31 lines (28 loc) · 1.12 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"Cython",
"cmake",
]
[tool.cibuildwheel]
# skip musl and pypy
skip = ["*-musllinux*", "pp*","cp37-*", "*-win32"]
#test-requires = "pytest"
#test-command = "python -X dev -m pytest {project}/tests"
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.9"
CMAKE_OSX_DEPLOYMENT_TARGET = "10.9"
CMAKE_OSX_ARCHITECTURES = "x86_64"
UAMQP_USE_OPENSSL = true
UAMQP_REBUILD_PYX = true
UAMQP_SUPPRESS_LINK_FLAGS = true
OPENSSL_ROOT_DIR = "/tmp/openssl"
OPENSSL_INCLUDE_DIR = "/tmp/openssl/include"
LDFLAGS = "-mmacosx-version-min=10.9 -L/tmp/openssl/lib"
CFLAGS = "-mmacosx-version-min=10.9 -I/tmp/openssl/include"
[tool.cibuildwheel.linux]
archs = ["x86_64"]
manylinux-x86_64-image = "manylinux2014"
before-build = ["yum -y install perl-IPC-Cmd","bash utils/install_openssl.sh"]
environment = {OPENSSL_ROOT_DIR="/opt/pyca/cryptography/openssl", LD_LIBRARY_PATH="/opt/pyca/cryptography/openssl/lib64", LIBRARY_PATH="/opt/pyca/cryptography/openssl/lib64", CPATH="/opt/pyca/cryptography/openssl/include", CFLAGS="-Wno-error=incompatible-pointer-types -Wunused-function"}