-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (56 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
67 lines (56 loc) · 2.24 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tool.black]
# Flake8 default compliance with specification PEP8
line-length = 79
exclude = '\.git|\.hg|\.mypy_cache|\.tox|\.venv|venv|_build|buck-out|build|dist'
skip-string-normalization = true
[tool.cibuildwheel]
build = "*"
# cibuildwheel 3.x makes PyPy wheels opt-in; re-enable the ones modern
# toolchains can still build (currently pp311). The pp38-pp310 wheels
# shipped by 0.2.13 target EOL PyPy releases cibuildwheel no longer
# supports — those interpreters install from the sdist instead.
enable = ["pypy"]
skip = ""
test-skip = ""
archs = ["auto64"]
build-frontend = "default"
config-settings = {}
dependency-versions = "pinned"
environment = {}
environment-pass = []
build-verbosity = 0
before-all = ""
before-build = ""
repair-wheel-command = ""
# Smoke-test each built wheel by installing it into a clean env and running
# the shared block-import script. The script artificially blocks zlib / bz2 /
# compression.zstd / lzma on sys.meta_path and then imports every compiled
# extension — that's the invariant CYTHON_COMPRESS_STRINGS=0 in setup.py
# exists to guarantee. A plain `python -c "import proton_driver"` on a stock
# runner would trivially pass even if a future Cython regen brought the
# compressed branches back, because those stdlib modules exist there.
test-command = "python {project}/tests/smoke_no_compression.py"
before-test = ""
test-requires = []
test-extras = []
container-engine = "docker"
manylinux-x86_64-image = "manylinux2014"
manylinux-i686-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
manylinux-ppc64le-image = "manylinux2014"
manylinux-s390x-image = "manylinux2014"
manylinux-pypy_x86_64-image = "manylinux2014"
manylinux-pypy_i686-image = "manylinux2014"
manylinux-pypy_aarch64-image = "manylinux2014"
musllinux-x86_64-image = "musllinux_1_1"
musllinux-i686-image = "musllinux_1_1"
musllinux-aarch64-image = "musllinux_1_1"
musllinux-ppc64le-image = "musllinux_1_1"
musllinux-s390x-image = "musllinux_1_1"
[tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
archs = [ "aarch64", "x86_64" ]
[tool.cibuildwheel.macos]
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
archs = [ "arm64", "x86_64" ]
[tool.cibuildwheel.windows]