MINGW-packages/mingw-w64-python-jaraco.envs/0001-mingw-python-fix.patch
Naveen M K b24a098014
Add python-jaraco.envs
Signed-off-by: Naveen M K <naveen@syrusdark.website>
2021-03-06 02:27:11 +05:30

14 lines
477 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 'GCC' not in sys.version else 'bin'
return os.path.join(self.dir, bin_or_scripts, cmd)
def env_vars(self):