maturin 1.5.0__py3-none-linux_armv6l.whl → 1.5.1__py3-none-linux_armv6l.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of maturin might be problematic. Click here for more details.
maturin/__init__.py
CHANGED
|
@@ -8,6 +8,7 @@ On windows, apparently pip's subprocess handling sets stdout to some windows enc
|
|
|
8
8
|
even though the terminal supports utf8. Writing directly to the binary stdout buffer avoids encoding errors due to
|
|
9
9
|
maturin's emojis.
|
|
10
10
|
"""
|
|
11
|
+
|
|
11
12
|
from __future__ import annotations
|
|
12
13
|
|
|
13
14
|
import os
|
|
@@ -62,22 +63,26 @@ def _build_wheel(
|
|
|
62
63
|
) -> str:
|
|
63
64
|
# PEP 517 specifies that only `sys.executable` points to the correct
|
|
64
65
|
# python interpreter
|
|
65
|
-
|
|
66
|
+
base_command = [
|
|
66
67
|
"maturin",
|
|
67
68
|
"pep517",
|
|
68
69
|
"build-wheel",
|
|
69
70
|
"-i",
|
|
70
71
|
sys.executable,
|
|
71
|
-
"--compatibility",
|
|
72
|
-
"off",
|
|
73
72
|
]
|
|
74
|
-
|
|
73
|
+
options = _additional_pep517_args()
|
|
75
74
|
if editable:
|
|
76
|
-
|
|
75
|
+
options.append("--editable")
|
|
77
76
|
|
|
78
77
|
pep517_args = get_maturin_pep517_args(config_settings)
|
|
79
78
|
if pep517_args:
|
|
80
|
-
|
|
79
|
+
options.extend(pep517_args)
|
|
80
|
+
|
|
81
|
+
if "--compatibility" not in options and "--manylinux" not in options:
|
|
82
|
+
# default to off if not otherwise specified
|
|
83
|
+
options = ["--compatibility", "off", *options]
|
|
84
|
+
|
|
85
|
+
command = [*base_command, *options]
|
|
81
86
|
|
|
82
87
|
print("Running `{}`".format(" ".join(command)))
|
|
83
88
|
sys.stdout.flush()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: maturin
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Classifier: Topic :: Software Development :: Build Tools
|
|
5
5
|
Classifier: Programming Language :: Rust
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
@@ -279,7 +279,7 @@ The Rust compiler since version 1.64 [requires at least glibc 2.17](https://blog
|
|
|
279
279
|
For publishing, we recommend enforcing the same manylinux version as the image with the manylinux flag, e.g. use `--manylinux 2014` if you are building in `quay.io/pypa/manylinux2014_x86_64`.
|
|
280
280
|
The [PyO3/maturin-action](https://github.com/PyO3/maturin-action) github action already takes care of this if you set e.g. `manylinux: 2014`.
|
|
281
281
|
|
|
282
|
-
maturin contains a reimplementation of auditwheel automatically checks the generated library and gives the wheel the proper.
|
|
282
|
+
maturin contains a reimplementation of auditwheel automatically checks the generated library and gives the wheel the proper platform tag.
|
|
283
283
|
If your system's glibc is too new or you link other shared libraries, it will assign the `linux` tag.
|
|
284
284
|
You can also manually disable those checks and directly use native linux target with `--manylinux off`.
|
|
285
285
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
maturin-1.5.1.dist-info/METADATA,sha256=wvzGoE8Aa9lK5HWLngo8FU-w2-UpfQx3-YtEqUN3GUs,18241
|
|
2
|
+
maturin-1.5.1.dist-info/WHEEL,sha256=ZmnPU_EDSjDSAigHhNf2hHOCxlWqJ-iLDD3F6I5RgmY,96
|
|
3
|
+
maturin/__init__.py,sha256=LTulsQuZU-v7IAdoxw_R6A661B1KsSlIsF2sMMDllYo,6703
|
|
4
|
+
maturin/__main__.py,sha256=4CyZAGqzmFsCl0FMlxAcG4vHFepE2lRZiPu4MKXyY4Y,987
|
|
5
|
+
maturin/import_hook.py,sha256=4Uwi4mBhMh3OlrWYpz2bwRU1mBG7HP2YObpo3vPcNYI,5602
|
|
6
|
+
maturin-1.5.1.data/scripts/maturin,sha256=TMxb27KChccCMHr50xv8At427oQwDCeZi3TsEODS1uo,27539276
|
|
7
|
+
maturin-1.5.1.dist-info/RECORD,,
|
maturin-1.5.0.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
maturin-1.5.0.dist-info/METADATA,sha256=13ok0mHMKq_Wb8Rkx50p2ls3mNrGDUyBH7KugkSj_PE,18228
|
|
2
|
-
maturin-1.5.0.dist-info/WHEEL,sha256=iG3XR4BDvfFIvEZxG6jG9XMejD3XG92qtYZ362HJ_qg,96
|
|
3
|
-
maturin/import_hook.py,sha256=4Uwi4mBhMh3OlrWYpz2bwRU1mBG7HP2YObpo3vPcNYI,5602
|
|
4
|
-
maturin/__main__.py,sha256=4CyZAGqzmFsCl0FMlxAcG4vHFepE2lRZiPu4MKXyY4Y,987
|
|
5
|
-
maturin/__init__.py,sha256=aIJTh4e2q5Ixr3r7rZRKx6wz0iuPcGutvCqPaBCYVUA,6522
|
|
6
|
-
maturin-1.5.0.data/scripts/maturin,sha256=sMfaama17h2gmoOLFHb7LccJk9zTJbupj726DWWolwY,27588852
|
|
7
|
-
maturin-1.5.0.dist-info/RECORD,,
|