ó ¾çSc@sÍdZddlZddlZddlZddlZddlmZddlmZddl m Z ej d„ƒZ d„Z d„Zejjd„ƒZejjd „ƒZejjd „ƒZdS( s<Run some integration tests. Try to install a few packages. iÿÿÿÿN(t easy_install(t Distributioncs|jdƒ‰|jdƒ‰|jdƒ‰|jdƒ‰‡‡‡‡‡fd†}|j|ƒˆjˆƒˆjtdˆjƒˆjdˆjƒˆjdˆjƒˆjd tjˆjgƒˆjd t jj j tjƒƒt ƒ}t |ƒ}ˆj|_|S( s8Fixture to set up temporary installation directory. tcwdt user_baset user_sitet install_dircs6ˆjƒˆjƒˆjƒˆjƒˆjƒdS(N(tundotremove((Rt monkeypatchtnew_cwdRR(sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pytfins     t__file__ssite.USER_BASEssite.USER_SITEssys.patht PYTHONPATH(tmkdirt addfinalizertchdirtsetattrteasy_install_pkgtstrpathtsystpathtsetenvtostpathseptjoinRRR(trequestttmpdirRR tdisttcmd((RRR RRsK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pytinstall_contexts   "   cCs‰|g|_|jƒ|jƒ|j}tjtjj||dƒƒ}|sWt‚tjj tjj|d||ƒƒs…t‚dS(Ns*.eggi( targstensure_finalizedtrunRtglobRRRtAssertionErrortexists(t requirementRtpkgnamet modulenamettargett dest_path((sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pyt _install_one5s    " cCstd|ddƒdS(Nt stevedores extension.py(R)(R((sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pyttest_stevedore?s cCstd|ddƒdS(Ntvirtualenvwrappershook_loader.py(R)(R((sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pyttest_virtualenvwrapperDs cCstd|ddƒdS(Ntpbrscore.py(R)(R((sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pyttest_pbrJs cCstd|ddƒdS(Nspython-novaclientt novaclientsbase.py(R)(R((sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pyttest_python_novaclientPs (t__doc__R!RRtpytesttsetuptools.command.easy_installRtsetuptools.commandRtsetuptools.distRtfixtureRR)R+tmarktxfailR-R/R1(((sK/usr/local/lib/python2.7/site-packages/setuptools/tests/test_integration.pyts    $