maturin 1.8.7__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 +4 -12
- {maturin-1.8.7.data → maturin-1.9.0.data}/scripts/maturin +0 -0
- {maturin-1.8.7.dist-info → maturin-1.9.0.dist-info}/METADATA +1 -1
- maturin-1.9.0.dist-info/RECORD +7 -0
- {maturin-1.8.7.dist-info → maturin-1.9.0.dist-info}/WHEEL +1 -1
- maturin-1.8.7.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
|
@@ -17,23 +17,15 @@ from typing import Any
|
|
|
17
17
|
|
|
18
18
|
# noinspection PyUnresolvedReferences
|
|
19
19
|
from setuptools.build_meta import * # noqa:F403
|
|
20
|
-
from setuptools.build_meta import (
|
|
21
|
-
get_requires_for_build_sdist as _orig_get_requires_for_build_sdist,
|
|
22
|
-
)
|
|
23
|
-
from setuptools.build_meta import (
|
|
24
|
-
get_requires_for_build_wheel as _orig_get_requires_for_build_wheel,
|
|
25
|
-
)
|
|
26
20
|
|
|
27
21
|
|
|
28
22
|
def get_requires_for_build_wheel(config_settings: dict[str, Any] | None = None) -> list[str]:
|
|
29
|
-
reqs = _orig_get_requires_for_build_wheel()
|
|
30
23
|
if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
|
|
31
|
-
|
|
32
|
-
return
|
|
24
|
+
return ["puccinialin>=0.1,<0.2"]
|
|
25
|
+
return []
|
|
33
26
|
|
|
34
27
|
|
|
35
28
|
def get_requires_for_build_sdist(config_settings: dict[str, Any] | None = None) -> list[str]:
|
|
36
|
-
reqs = _orig_get_requires_for_build_sdist()
|
|
37
29
|
if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
|
|
38
|
-
|
|
39
|
-
return
|
|
30
|
+
return ["puccinialin>=0.1,<0.2"]
|
|
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.7.dist-info/RECORD
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
maturin-1.8.7.data/scripts/maturin,sha256=Ia1lr0mKfBIP64SYajZLup9TfWSFcs3j9llCi1KZ1W4,19934224
|
|
2
|
-
maturin-1.8.7.dist-info/METADATA,sha256=s9usQDvJYCvbBiZx02aq0luuLCvxc3OvFqbHllCGOBc,16552
|
|
3
|
-
maturin-1.8.7.dist-info/WHEEL,sha256=AgcgFPJQxwUY0FbdvgcuHGlHLXquuFOiTHLZ5U4HEa8,103
|
|
4
|
-
maturin/__init__.py,sha256=PnrUq1TbEWzMXTvshio2m5JzVy42DLFsjzsiRvPxC9M,8080
|
|
5
|
-
maturin/__main__.py,sha256=Fg40Rg6srWYrH0s2ZgbIOysRDnZf2tX-z5VJAPyOs4Y,1145
|
|
6
|
-
maturin/bootstrap.py,sha256=aA0k-740PLv-XuAXrFKl6eRqKDpXqn3L1JeH5b3PjJU,1500
|
|
7
|
-
maturin-1.8.7.dist-info/RECORD,,
|