Skip to content

Commit

Permalink
fixup: rename NODE_GYP_PYTHON3 to EXPERIMENTAL_NODE_GYP_PYTHON3
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocgreis committed Jul 9, 2019
1 parent e2c75b4 commit bd531aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/find-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ PythonFinder.prototype = {
log: logWithPrefix(log, 'find Python'),
argsExecutable: [ '-c', 'import sys; print(sys.executable);' ],
argsVersion: [ '-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);' ],
semverRange: process.env.NODE_GYP_PYTHON3 ? '>=2.7.0' : '>=2.6.0 <3.0.0',
semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '>=2.7.0' :
'>=2.6.0 <3.0.0',

// These can be overridden for testing:
execFile: cp.execFile,
Expand Down

0 comments on commit bd531aa

Please sign in to comment.