forked from bloomberg/blazingmq-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (42 loc) · 1.53 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
[build-system]
requires = ['setuptools>=39.2.0',
'Cython>=0.28.4, <3; python_version < "3.8"',
'Cython >= 3, <4; python_version >= "3.8"',
'wheel>=0.31.0',
'pkgconfig>1.5.0']
build-backend = "setuptools.build_meta"
[tool.towncrier]
package = "blazingmq"
package_dir = "src"
filename = "CHANGELOG.md"
directory = "news"
[tool.cibuildwheel]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
skip = "*-musllinux_*"
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
[tool.cibuildwheel.linux.environment]
PKG_CONFIG_PATH="/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig"
[tool.cibuildwheel.macos.environment]
PKG_CONFIG_PATH="install/lib/pkgconfig"
[tool.cibuildwheel.linux]
before-all = [
"yum install -y gdb curl pkgconfig ninja-build flex flex-devel zlib-devel",
"DIR_INSTALL=/usr/local bash bin/build-manylinux.sh"
]
[tool.cibuildwheel.macos]
before-all = [
"brew install cmake ninja flex bison zlib google-benchmark",
"bash bin/build-macos-universal.sh"
]
before-test = [
"codesign --remove-signature /Library/Frameworks/Python.framework/Versions/*/bin/python3 || true",
"codesign --remove-signature /Library/Frameworks/Python.framework/Versions/*/Resources/Python.app/Contents/MacOS/Python || true",
]
# Override the default linux before-all for musl linux
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = [
"apk add --update gdb curl pkgconfig ninja flex flex-dev zlib-dev",
"DIR_INSTALL=/usr/local bash bin/build-manylinux.sh"
]