python: accept Python 3 conditionally · nodejs/node-gyp@66ad305 · GitHub
Skip to content

Commit 66ad305

Browse files
committed
python: accept Python 3 conditionally
This allows us to start testing Python 3 without breaking node-gyp for users. This also adds support for NODE_GYP_FORCE_PYTHON, which will be the only Python binary acceptable when defined. PR-URL: #1815 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
1 parent 7e7fce3 commit 66ad305

3 files changed

Lines changed: 114 additions & 188 deletions

File tree

.travis.yml

Lines changed: 28 additions & 2 deletions

lib/find-python.js

Lines changed: 83 additions & 58 deletions

0 commit comments

Comments
 (0)