[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2021-02-03 Thread Steve Dower
Steve Dower added the comment: shutil.which is the supported replacement for that function. -- ___ Python tracker ___ ___

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2021-02-03 Thread Aaron Meurer
Aaron Meurer added the comment: Is find_executable() going to be extracted from distutils to somewhere else? It's one of those functions that is useful outside of packaging, and indeed, I've seen it imported in quite a few codes that aren't related to packaging. If so, the patch I mentioned

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2014-09-24 Thread Aaron Meurer
Aaron Meurer added the comment: The issue is that that the Anaconda gcc on Windows is a bat file, so it can't find it. Another fix would be to use find_executable. This is because Anaconda has patched find_executalbe (which it also would be good to get backported) diff --git

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2014-06-23 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21821 ___ ___ Python-bugs-list

[issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

2014-06-21 Thread PierreAugier
New submission from PierreAugier: Under Windows 7, with Python 3.4.1 |Anaconda 2.0.1 (64-bit), calling the function cygwinccompiler.is_cygwingcc of the distutils package leads to a FileNotFoundError. I solved the problem for me by adding the argument shell=True in l. 404 of