File: pyproject.toml

package info (click to toggle)
azure-uamqp-python 1.6.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 35,564 kB
  • sloc: ansic: 184,383; cpp: 7,738; python: 7,731; cs: 5,767; sh: 983; xml: 298; makefile: 34
file content (31 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download
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"}