We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd531aa commit ea08a83Copy full SHA for ea08a83
lib/find-python.js
@@ -18,7 +18,7 @@ PythonFinder.prototype = {
18
log: logWithPrefix(log, 'find Python'),
19
argsExecutable: [ '-c', 'import sys; print(sys.executable);' ],
20
argsVersion: [ '-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);' ],
21
- semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '>=2.7.0' :
+ semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '2.7.x || >=3.5.0' :
22
'>=2.6.0 <3.0.0',
23
24
// These can be overridden for testing:
0 commit comments