ó «©\Tc@sždZddlZddlZddlZddlZddlZyddlZWnnXddlZddlm Z d„Z dej fd„ƒYZ dS(s%Test .dist-info style distributions. iÿÿÿÿN(tskipIfcCstj|ƒjƒS(sdedent and left-strip(ttextwraptdedenttlstrip(ts((sL/opt/freeware/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pytDALSst TestDistInfocBsDeZd„Zedeƒkdƒd„ƒZd„Zd„ZRS(cCsi}x'tj|jƒD]}|||j= 2.6)cCs‘tjjdƒtjjdƒg}xftj|jƒD]R}|j|jƒ|d ƒ|j|jddƒ|ƒ|j|jdgƒq7WdS(Ns splort==4s quux>=1.1itextrastbaz(R(R t RequirementtparseR R t assertEqualtrequiresR(RRR((sL/opt/freeware/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pyttest_conditional_dependencies%s cCsãtjƒ|_tjj|jdƒ}tj|ƒttjj|dƒdƒ}z|jt dƒƒWd|j ƒXtjj|jdƒ}tj|ƒttjj|dƒdƒ}z|jt dƒƒWd|j ƒXdS(Ns%VersionedDistribution-2.718.dist-infotMETADATAsw+sí Metadata-Version: 1.2 Name: VersionedDistribution Requires-Dist: splort (4) Provides-Extra: baz Requires-Dist: quux (>=1.1); extra == 'baz' s!UnversionedDistribution.dist-infos Metadata-Version: 1.2 Name: UnversionedDistribution Version: 0.3 Requires-Dist: splort (==4) Provides-Extra: baz Requires-Dist: quux (>=1.1); extra == 'baz' ( ttempfiletmkdtempR tostpathtjointmkdirtopentwriteRtclose(RRt metadata_fileR((sL/opt/freeware/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pytsetUp0s"       cCstj|jƒdS(N(tshutiltrmtreeR (R((sL/opt/freeware/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pyttearDownRs(t__name__t __module__RRtglobalsRR)R,(((sL/opt/freeware/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pyRs   "( t__doc__R!R*RtunittestRRR tsetuptools.tests.py26compatRRtTestCaseR(((sL/opt/freeware/lib/python2.7/site-packages/setuptools/tests/test_dist_info.pyts