Skip to content

Commit

Permalink
Minor cleanup tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Nov 8, 2024
1 parent 2d6d69b commit 594bf97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/venvstacks/stacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1584,8 +1584,8 @@ def _ensure_virtual_environment(self) -> subprocess.CompletedProcess[str]:
def _link_build_environment(self) -> None:
# Create sitecustomize file for the build environment
build_path = self.build_path
build_pylib_paths = [build_path / p for p in self._iter_build_pylib_dirs()]
build_dynlib_paths = [build_path / p for p in self._iter_build_dynlib_dirs()]
build_pylib_paths = [build_path / d for d in self._iter_build_pylib_dirs()]
build_dynlib_paths = [build_path / d for d in self._iter_build_dynlib_dirs()]
sc_contents = postinstall.generate_sitecustomize(
build_pylib_paths, build_dynlib_paths
)
Expand Down Expand Up @@ -1653,6 +1653,7 @@ def __post_init__(self) -> None:
self.linked_frameworks = []

def _linked_environments(self) -> Iterator[_PythonEnvironment]:
# Linked frameworks are emitted before the base runtime layer
for fw_env in self.linked_frameworks:
yield fw_env
yield from super()._linked_environments()
Expand Down

0 comments on commit 594bf97

Please sign in to comment.