We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build.py
1 parent 4d86638 commit 8e9219bCopy full SHA for 8e9219b
build.py
@@ -28,7 +28,7 @@ def _build():
28
# We won't use the wheel built by maturin directly since
29
# we want Poetry to build it but we need to retrieve the
30
# compiled extensions from the maturin wheel.
31
- wheel = list(wheels_dir.glob("*.whl"))[0]
+ wheel = next(iter(wheels_dir.glob("*.whl")))
32
with zipfile.ZipFile(wheel.as_posix()) as whl:
33
whl.extractall(wheels_dir.as_posix())
34
0 commit comments