Skip to content

Commit

Permalink
fix: Do not include library in wheel when performing an editable inst…
Browse files Browse the repository at this point in the history
…all.
  • Loading branch information
matthewwardrop authored and robbotorigami committed Aug 30, 2023
1 parent 43a2db9 commit 730a87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/core/masonry/builders/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _build(self, wheel: zipfile.ZipFile) -> None:

build_dir = self._path / "build"
libs: list[Path] = list(build_dir.glob("lib.*"))
if not libs:
if self._editable or not libs:
# The result of building the extensions
# does not exist, this may due to conditional
# builds, so we assume that it's okay
Expand Down

0 comments on commit 730a87b

Please sign in to comment.