depends_on :python Default to min vers 2.6 not 2.7
To support system python on OS X
This commit is contained in:
parent
0688991507
commit
0ff6c992c3
@ -36,7 +36,7 @@ class PythonInstalled < Requirement
|
|||||||
if /(\d+\.)*\d+/ === tags.first
|
if /(\d+\.)*\d+/ === tags.first
|
||||||
@min_version = PythonVersion.new(tags.shift)
|
@min_version = PythonVersion.new(tags.shift)
|
||||||
else
|
else
|
||||||
@min_version = PythonVersion.new("2.7") # default
|
@min_version = PythonVersion.new("2.6") # default
|
||||||
end
|
end
|
||||||
|
|
||||||
# often used idiom: e.g. sipdir = "share/sip" + python.if3then3
|
# often used idiom: e.g. sipdir = "share/sip" + python.if3then3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user