Files
MINGW-packages/mingw-w64-python-jaraco.envs/0001-mingw-python-fix.patch
Christoph Reiter 26aed82a01 Fix mignw python detection in various places
rebuild only jaraco.envs, since that is part of the current rebuild
2026-01-09 09:18:21 +01:00

14 lines
479 B
Diff

diff --git a/jaraco/envs.py b/jaraco/envs.py
index 50eae62..0058f11 100644
--- a/jaraco/envs.py
+++ b/jaraco/envs.py
@@ -34,7 +34,7 @@ class VirtualEnv:
subprocess.check_call(cmd, env=env)
def exe(self, cmd='python'):
- bin_or_scripts = 'Scripts' if platform.system() == 'Windows' else 'bin'
+ bin_or_scripts = 'Scripts' if 'MINGW' not in sys.version else 'bin'
return os.path.join(self.dir, bin_or_scripts, cmd)
def env_vars(self):