mò ªËŽGc@s‹dkTdkZd„Zdefd„ƒYZdefd„ƒYZdefd„ƒYZd efd „ƒYZd efd „ƒYZdS( (t*NcCs‘tdƒo|tidƒ\}}|djoRti|dƒ}t|ƒdjo%|ddjo |dSq}dSq…dSqdSnd SdS( Ntpythons python -Vit itPythons- unknown python version -s - unknown python version < 2.0 -s- no python in $path -( t fileInPathtcommandstgetstatusoutputtstatustoutputtstringtsplittltlen(RR R((tg/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/PythonVersion.pyt pythonversions   t PythonVersioncBsGtZdZdZdZd„Zd„Zd„Zd„Zd„Z RS(Nspython versionsPython VersionscCsd|idtƒdS(Nsmust be equal to [s ], actually [s].(tselftvalueR(R((R tstrscCstd|iƒd|i ƒS(Nt[s] has not been tested yet.(tReasonRRtacquired(R((R t satisfiedscCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no python in $path -s([python] is not in the installer's path.spython version is [s]. It must be [s].(RtpvRtrRRtsatsettok(RRR((R tacquires   2cCstƒS(N(R(R((R t satisfiable(scCstƒS(N(R(R((R tretract,s( t__name__t __module__ttypettitletactionRRRRR(((R Rs   tPythonVersionLEcBs,tZdZdZdZd„Zd„ZRS(Nspython version <=spython version <=scCsd|idtƒdS(NRs ], actually [s].(RRR(R((R R3scCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no python in $path -s([python] is not in the installer's path.spython version [s] must be <= [s].(RRRRRRRR(RRR((R R5s   2(RRR R!R"RR(((R R#.s  tPythonVersionLTcBs,tZdZdZdZd„Zd„ZRS(Nspython version s  tPythonVersionGEcBs,tZdZdZdZd„Zd„ZRS(Nspython version >=spython version >=scCsd|idtƒdS(NRs ], actually [s].(RRR(R((R RSscCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no python in $path -s([python] is not in the installer's path.spython version [s] must be >= [s].(RRRRRRRR(RRR((R RUs   2(RRR R!R"RR(((R R%Ns  tPythonVersionGTcBs,tZdZdZdZd„Zd„ZRS(Nspython version >spython version >scCsd|idtƒdS(NRs ], actually [s].(RRR(R((R RcscCsotƒ}|djotdƒ}n3tdtƒd|idtƒ|ij ƒ}|i|iƒƒ|S(Ns- no python in $path -s([python] is not in the installer's path.spython version [s ] must be > [s].(RRRRRRRR(RRR((R Res   2(RRR R!R"RR(((R R&^s  (t StringAttrRRRR#R$R%R&(RR$R%RR#R&R((R t?s