选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
ó YZc@sìdZddlZddlZddlZddlZddl Z ddl Z yddl mZWnek runXddlZddljjZddlmZejdd„ƒZdefd„ƒYZdejfd „ƒYZdS( s Implementation iÿÿÿÿN(tmap(t Distributionccs>tj}|dk r#|tj(nz |VWd|tj(XdS(N(t_systargvtNone(trepltsaved((s'/usr/lib/python2.7/site-packages/ptr.pyt _save_argvs     tCustomizedDistcBseZdZdZd„ZRS(c Cs}ddlm}tidgd6ƒ}|jƒ|jdƒ}d}x*t|ƒD]}||krR||=qRqRW|jr¿|j}d|kr¬|dd jƒ|}nd |f|d>> import setuptools >>> dist = setuptools.Distribution() >>> cmd = PyTest(dist) textrass2Install (all) setuptools extras when running testss index-url=s8Specify an index url from which to retrieve dependenciess allow-hosts=sHWhitelist of comma-separated hosts to allow when retrieving dependenciessaddopts=s=Additional options to be passed verbatim to the pytest runnercCs(t|_d|_d|_g|_dS(N(R(R7RR Rtaddopts(R*((s'/usr/lib/python2.7/site-packages/ptr.pytinitialize_options[s   cCs%|jr!tj|jƒ|_ndS(N(R8t_shlexR#(R*((s'/usr/lib/python2.7/site-packages/ptr.pytfinalize_optionsas cCs$| p#tj|ƒ o#tj|ƒS(se Given an environment marker, return True if the marker is valid and matches this environment. (t pkg_resourcestinvalid_markertevaluate_marker(tmarker((s'/usr/lib/python2.7/site-packages/ptr.pyt marker_passesescCs%tjtjj|ƒ|j|ƒƒS(s4 Extend install_dists to include extras support (t _itertoolstchaintorigRt install_diststinstall_extra_dists(R*R,((s'/usr/lib/python2.7/site-packages/ptr.pyRDqscsc|jp i}d„|jƒDƒ}‡fd†|Dƒ}tt|j|ƒƒ}tjj|ƒS(sf Install extras that are indicated by markers or install all extras if '--extras' is indicated. css*|] \}}|jdƒ|fVqdS(t:N(t partition(t.0tspectreqs((s'/usr/lib/python2.7/site-packages/ptr.pys ‚sc3sC|]9\\}}}}| s(ˆjrˆj|ƒr|VqdS(N(R7R@(RHtnametsepR?RJ(R*(s'/usr/lib/python2.7/site-packages/ptr.pys †s(textras_requiretitemsR!Rtfetch_build_eggsRARBt from_iterable(R*R,RMt spec_extrastmatching_extrastresults((R*s'/usr/lib/python2.7/site-packages/ptr.pyREzs  c Csätƒ}x-djƒD]}t||t||ƒƒqWx0djƒD]"}t||t|j|ƒƒqFW|j|ƒ}|jr•|jdƒdStt j dƒ|ƒ}|j |ƒ�"|j ƒ�|j ƒSWdQXWdQXdS(sl Override run to ensure requirements are available in this session (but don't install them anywhere). sallow_hosts index_urls?dependency_links install_requires tests_require extras_require sskipping tests (dry run)Ntlocation(RR#tsetattrR$t distributionRDtdry_runtannounceRt _operatort attrgettertpaths_on_pythonpathtproject_on_sys_patht run_tests(R*R,tattrtinstalled_diststpaths((s'/usr/lib/python2.7/site-packages/ptr.pytrun�s     cCsdg|jS(Ntpytest(R8(R*((s'/usr/lib/python2.7/site-packages/ptr.pyt_argv¦scCsLttjd |jƒ�,tdƒjƒ}|rBt|ƒ‚nWdQXdS(s8 Invoke pytest, replacing argv. Return result code. iRbN(RRRR8t __import__tmaint SystemExit(R*t result_code((s'/usr/lib/python2.7/site-packages/ptr.pyR]ªsN(R7Ns2Install (all) setuptools extras when running tests(s index-url=Ns8Specify an index url from which to retrieve dependencies(s allow-hosts=NsHWhitelist of comma-separated hosts to allow when retrieving dependencies(saddopts=Ns=Additional options to be passed verbatim to the pytest runner(R4R5t__doc__Rt user_optionsR9R;t staticmethodR@RDRERatpropertyRcR](((s'/usr/lib/python2.7/site-packages/ptr.pyR6Js     (RhtosR%tshlexR:t contextlibt _contextlibtsysRtoperatorRYt itertoolsRAtfuture_builtinsRt ImportErrorR<tsetuptools.command.testtcommandRRCt setuptoolsRtcontextmanagerRRRR6(((s'/usr/lib/python2.7/site-packages/ptr.pyts"         (