20 lines
677 B
Diff
20 lines
677 B
Diff
diff -Naur a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
|
|
--- a/Lib/distutils/cygwinccompiler.py 2014-05-20 00:55:39.197200000 +0400
|
|
+++ b/Lib/distutils/cygwinccompiler.py 2014-05-20 00:55:49.555600000 +0400
|
|
@@ -48,7 +48,6 @@
|
|
import os
|
|
import sys
|
|
import copy
|
|
-from subprocess import Popen, PIPE, check_output
|
|
import re
|
|
|
|
from distutils.ccompiler import gen_preprocess_options, gen_lib_options
|
|
@@ -385,6 +384,7 @@
|
|
executable = cmd.split()[0]
|
|
if find_executable(executable) is None:
|
|
return None
|
|
+ from subprocess import Popen, PIPE
|
|
out = Popen(cmd, shell=True, stdout=PIPE).stdout
|
|
try:
|
|
out_string = out.read()
|