TooTallNate/node-gyp — Issue #33: Try to guess the location of 'python' on Windows...
Author: TooTallNate
Created: 2012-03-03 02:08:50+00:00
State: open

... when not found in the `PATH`.

Just like we're doing for the `msbuild` command...

Python v2.7.2 by default gets installed to `C:\Python27`. So we should probably glob for `C:\Python*`, sort, then use the last match (as to try and get the latest version).

But we also need to make sure that it's not Python v3.x.x since that currently does not work with gyp.