Skip to content

Commit

Permalink
fixup: reject outdated versions 3.0-3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocgreis committed Jul 9, 2019
1 parent bd531aa commit ea08a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/find-python.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '>=2.7.0' :
semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '2.7.x || >=3.5.0' :
'>=2.6.0 <3.0.0',

// These can be overridden for testing:
Expand Down

0 comments on commit ea08a83

Please sign in to comment.