2 dependsOnHeader("Python.h")
4 version
:= list("2.6", "2.5", "2.4", "2.3", "2.2") detect(v
, System
system("python" .. v
.. " -V 2> /dev/null") == 0)
5 version
ifNil(version
= "2.4")
7 dependsOnFrameworkOrLib("Python", "python" .. version
)
8 headerSearchPaths
foreach(headerSearchPath
, appendHeaderSearchPath(headerSearchPath
.. "/python" .. version
))
10 debs
atPut("python2.4", "python2.4-dev")
11 ebuilds
atPut("python2.4", "python")
12 pkgs
atPut("python2.4", "python24")
13 rpms
atPut("python2.4", "python-devel")