Commit graph

4 commits

Author SHA1 Message Date
João Reis
3d1c60ab81 lib: accept Python 3 by default
PR-URL: https://github.com/nodejs/node-gyp/pull/1844
Reviewed-By: Christian Clauss <cclauss@me.com>
2019-09-30 07:55:48 +01:00
cclauss
c6e3b65a23
lib: raise the minimum Python version from 2.6 to 2.7
As discussed in #1811

PR-URL: https://github.com/nodejs/node-gyp/pull/1818
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: João Reis <reis@janeasystems.com>
2019-07-17 14:31:23 +10:00
João Reis
66ad305775 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: https://github.com/nodejs/node-gyp/pull/1815
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-07-11 05:13:59 +01:00
João Reis
7e7fce3fed python: move Python detection to its own file
PR-URL: https://github.com/nodejs/node-gyp/pull/1815
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-07-11 05:13:59 +01:00