maturin 1.8.6__py3-none-macosx_10_12_x86_64.whl → 1.9.0__py3-none-macosx_10_12_x86_64.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 +5 -5
- maturin/bootstrap.py +2 -2
- {maturin-1.8.6.data → maturin-1.9.0.data}/scripts/maturin +0 -0
- {maturin-1.8.6.dist-info → maturin-1.9.0.dist-info}/METADATA +1 -1
- maturin-1.9.0.dist-info/RECORD +7 -0
- {maturin-1.8.6.dist-info → maturin-1.9.0.dist-info}/WHEEL +1 -1
- maturin-1.8.6.dist-info/RECORD +0 -7
maturin/__init__.py
CHANGED
|
@@ -21,13 +21,13 @@ import sys
|
|
|
21
21
|
from subprocess import SubprocessError
|
|
22
22
|
from typing import Any, Dict, Mapping, List, Optional
|
|
23
23
|
|
|
24
|
-
try:
|
|
25
|
-
import tomllib
|
|
26
|
-
except ModuleNotFoundError:
|
|
27
|
-
import tomli as tomllib # type: ignore
|
|
28
|
-
|
|
29
24
|
|
|
30
25
|
def get_config() -> Dict[str, str]:
|
|
26
|
+
try:
|
|
27
|
+
import tomllib
|
|
28
|
+
except ModuleNotFoundError:
|
|
29
|
+
import tomli as tomllib # type: ignore
|
|
30
|
+
|
|
31
31
|
with open("pyproject.toml", "rb") as fp:
|
|
32
32
|
pyproject_toml = tomllib.load(fp)
|
|
33
33
|
return pyproject_toml.get("tool", {}).get("maturin", {})
|
maturin/bootstrap.py
CHANGED
|
@@ -19,13 +19,13 @@ from typing import Any
|
|
|
19
19
|
from setuptools.build_meta import * # noqa:F403
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
def get_requires_for_build_wheel(
|
|
22
|
+
def get_requires_for_build_wheel(config_settings: dict[str, Any] | None = None) -> list[str]:
|
|
23
23
|
if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
|
|
24
24
|
return ["puccinialin>=0.1,<0.2"]
|
|
25
25
|
return []
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
def get_requires_for_build_sdist(
|
|
28
|
+
def get_requires_for_build_sdist(config_settings: dict[str, Any] | None = None) -> list[str]:
|
|
29
29
|
if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
|
|
30
30
|
return ["puccinialin>=0.1,<0.2"]
|
|
31
31
|
return []
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
maturin-1.9.0.data/scripts/maturin,sha256=UIchKeUaCtbgE1KK_6PHitEnJcIY2dGNYHpy_6iGf2k,19960672
|
|
2
|
+
maturin-1.9.0.dist-info/METADATA,sha256=przU384M6tDPaLeTaNgiiZrv5xrQmDhTuuhyKjlwni0,16552
|
|
3
|
+
maturin-1.9.0.dist-info/WHEEL,sha256=_ftC59G2lUDVh6DjVQid1lXOEswHzpmZBvGibXyRtww,103
|
|
4
|
+
maturin/__init__.py,sha256=uqsqa4z60b8iY_zUA8Ck6-tpiluPnfdeCYwc3abE1nw,8096
|
|
5
|
+
maturin/__main__.py,sha256=Fg40Rg6srWYrH0s2ZgbIOysRDnZf2tX-z5VJAPyOs4Y,1145
|
|
6
|
+
maturin/bootstrap.py,sha256=U_jynfhC471rOty8unVExBqf4RCZQxhxl_wyl0shCO4,1172
|
|
7
|
+
maturin-1.9.0.dist-info/RECORD,,
|
maturin-1.8.6.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
maturin-1.8.6.data/scripts/maturin,sha256=f8i1gdnyptFy81WZRNZF0jo9C_3Sn9GZouep8P1-DHc,18920496
|
|
2
|
-
maturin-1.8.6.dist-info/METADATA,sha256=szN7dmimkjblGzI4DANWGEVL9X2SlueLU1c1UK13TtM,16552
|
|
3
|
-
maturin-1.8.6.dist-info/WHEEL,sha256=Z9EvJcq5N96b4rSqg-ys1OmbbWPCugqwpJtF9hM4jHw,103
|
|
4
|
-
maturin/__init__.py,sha256=PnrUq1TbEWzMXTvshio2m5JzVy42DLFsjzsiRvPxC9M,8080
|
|
5
|
-
maturin/__main__.py,sha256=Fg40Rg6srWYrH0s2ZgbIOysRDnZf2tX-z5VJAPyOs4Y,1145
|
|
6
|
-
maturin/bootstrap.py,sha256=6IKq0Y-mDUTP19ziOT4TdPFYkcuWdDpNGzUj8FJ_5sQ,1174
|
|
7
|
-
maturin-1.8.6.dist-info/RECORD,,
|