Skip to content

Commit 9544b7c

Browse files
committed
fix: append subdirectory to archive path (#7575)
1 parent 756e37d commit 9544b7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/poetry/installation/executor.py

+2
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,8 @@ def _prepare_archive(self, operation: Install | Update) -> Path:
569569

570570
assert package.source_url is not None
571571
archive = Path(package.source_url)
572+
if package.source_subdirectory:
573+
archive = archive / package.source_subdirectory
572574
if not Path(package.source_url).is_absolute() and package.root_dir:
573575
archive = package.root_dir / archive
574576

0 commit comments

Comments
 (0)