// DIE's signature file

init("library","Python");

function detect(bShowType,bShowVersion,bShowOptions)
{
    var aPython=PE.isLibraryPresentExp(/^python(\d\d)/i);
    if(aPython)
    {
        sVersion=aPython[1]/10;
        bDetected=1;
    }

    var aPython2=PE.isLibraryPresentExp(/^libpython(\d.\d)/i);
    if(aPython2)
    {
        sVersion=aPython2[1];
        bDetected=1;
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
