diff --git a/script/utils/verify-requirements.js b/script/utils/verify-requirements.js index a0f4b74e5..e411b6a52 100644 --- a/script/utils/verify-requirements.js +++ b/script/utils/verify-requirements.js @@ -20,18 +20,15 @@ function verifyNode() { } function verifyPython27(cb) { - if (process.platform !== 'win32') { + if (false && process.platform !== 'win32') { cb(); } else { if (!pythonExecutable) { var systemDrive = process.env.SystemDrive || 'C:\\'; - pythonExecutable = path.join(systemDrive, 'Python27'); + pythonExecutable = path.join(systemDrive, 'Python27', 'python.exe'); - if (fs.existsSync(pythonExecutable)) { - pythonExecutable = path.join(pythonExecutable, 'python'); - } - else { + if (!fs.existsSync(pythonExecutable)) { pythonExecutable = 'python'; } }