Skip to content

Commit

Permalink
override environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
SoulMelody committed Sep 29, 2024
1 parent 82ff5fc commit 6136de7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packaging/mingw_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ def install_msys2_requirements(args: list[str]) -> None:
except InvalidRequirement:
continue
if (
requirement.marker is None or requirement.marker.evaluate() is True
requirement.marker is None
or requirement.marker.evaluate(
environment={"platform_system": "Windows", "sys_platform": "win32"}
)
is True
) and requirement.name not in [
"libresvip",
]:
Expand Down

0 comments on commit 6136de7

Please sign in to comment.