选择文件�文件大�最�修改时间�作
[📄] 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
3 Ävh Gã @sxdZddlmZddlmZmZddlmZddlm Z ddl Z ddl Z ddl Z ddl Z ddlZddlmZddlmZmZmZdd lmZdd lmZdd lmZydd lmZmZd d„ZWn,ek rìddlm Z mZdd„ZYnXdd„Z!dd„Z"dd„Z#Gdd„deƒZ$e%j&dj'ƒƒZ(dd„Z)dd„Z*dd„Z+d d!d"œZ,d#d$„Z-d%d&„Z.d'd(„Z/d)d*d+d,gZ0d1d/d0„Z1dS)2z6setuptools.command.bdist_egg Build .egg distributionsé)ÚDistutilsSetupError)Ú remove_treeÚmkpath)Úlog)ÚCodeTypeN)Úsix)Úget_build_platformÚ DistributionÚensure_directory)Ú EntryPoint)ÚLibrary)ÚCommand)Úget_pathÚget_python_versioncCstdƒS)NÚpurelib)r©rrú/usr/lib/python3.6/bdist_egg.pyÚ _get_purelibsr)Úget_python_librcCstdƒS)NF)rrrrrrscCs2d|krtjj|ƒd}|jdƒr.|dd…}|S)NÚ.rÚmoduleéiúÿÿÿ)ÚosÚpathÚsplitextÚendswith)ÚfilenamerrrÚ strip_module#s   rccs:x4tj|ƒD]&\}}}|jƒ|jƒ|||fVq WdS)zbDo os.walk in a reproducible way, independent of indeterministic filesystem readdir order N)rÚwalkÚsort)ÚdirÚbaseÚdirsÚfilesrrrÚ sorted_walk+sr$c Cs6tjdƒjƒ}t|dƒ�}|j||ƒWdQRXdS)NaR def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, %r) __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__() Úw)ÚtextwrapÚdedentÚlstripÚopenÚwrite)ZresourceÚpyfileZ_stub_templateÚfrrrÚ write_stub5s  r-c@sŽeZdZdZd*dddeƒfd+d-d.d/gZd ddgZdd„Zdd„Zdd„Z dd„Z dd„Z dd„Z d d!„Z d"d#„Zd$d%„Zd&d'„Zd(d)„Zd S)0Ú bdist_eggzcreate an "egg" distributionú bdist-dir=Úbú1temporary directory for creating the distributionz plat-name=Úpz;platform name to embed in generated filenames (default: %s)úexclude-source-filesNú+remove all .py files from the generated eggú keep-tempÚkz/keep the pseudo-installation tree around after z!creating the distribution archiveú dist-dir=Údú-directory to put final built distributions inú skip-buildú2skip rebuilding everything (for testing/debugging)cCs.d|_d|_d|_d|_d|_d|_d|_dS)Nr)Ú bdist_dirÚ plat_nameÚ keep_tempÚdist_dirÚ skip_buildÚ egg_outputÚexclude_source_files)ÚselfrrrÚinitialize_optionsZszbdist_egg.initialize_optionscCs¨|jdƒ}|_|j|_|jdkr>|jdƒj}tjj|dƒ|_|jdkrPt ƒ|_|j ddƒ|j dkr¤t dd|j |jtƒ|jjƒo†|jƒj ƒ}tjj|j|dƒ|_ dS)NÚegg_infoZbdistZeggr?z.egg)r?r?)Úget_finalized_commandÚei_cmdrEr<Ú bdist_baserrÚjoinr=rZset_undefined_optionsrAr Zegg_nameZ egg_versionrÚ distributionÚhas_ext_modulesr?)rCrGrHÚbasenamerrrÚfinalize_optionscs      zbdist_egg.finalize_optionsc Csú|j|jdƒ_tjjtjjtƒƒƒ}|jj g}|j_ x�|D]ˆ}t |t ƒr¶t |ƒdkr¶tjj |dƒr¶tjj|dƒ}tjj|ƒ}||ksš|j|tjƒr¶|t |ƒdd…|df}|jj j|ƒqrÚgetattrr)rCZinstcmdZold_rootrkÚ all_outputsÚ ext_outputsZ to_compiler2Zext_namerÚextr+Z archive_rootrEZ script_dirZ native_libsZ libs_filerrrÚrun¡sz                    z bdist_egg.runc CsàtjdƒxÐt|jƒD]Â\}}}x¶|D]®}tjj||ƒ}|jdƒrXtjd|ƒtj |ƒ|jdƒr&|}d}t j ||ƒ}tjj|tj |j dƒdƒ} tjd|| fƒytj| ƒWntk rÆYnXtj|| ƒq&WqWdS) Nz+Removing .py files from temporary directoryz.pyz Deleting %sÚ __pycache__z#(?P.+)\.(?P[^.]+)\.pycÚnamez.pyczRenaming file from [%s] to [%s])rr_Úwalk_eggr<rrrIrÚdebugrzÚreÚmatchÚpardirÚgroupÚremoveÚOSErrorÚrename) rCr!r"r#rˆrZpath_oldÚpatternÚmZpath_newrrrròs*        zbdist_egg.zap_pyfilescCs2t|jddƒ}|dk r|Stjdƒt|j|jƒS)Nr|z4zip_safe flag not set; analyzing archive contents...)r‚rJrr~Ú analyze_eggr<rt)rCÚsaferrrr| s  zbdist_egg.zip_safec CsÎtj|jjpdƒ}|jdiƒjdƒ}|dkr0dS|j s>|jrLtd|fƒ‚tj dd…}|j }dj |jƒ}|jd}t j j|jƒ}d tƒ}|jsÊtt j j|jƒ|jd �t|jdƒ} | j|ƒ| jƒd S) NÚzsetuptools.installationZ eggsecutabler%zGeggsecutable entry point (%r) cannot have 'extras' or refer to a moduleérraH#!/bin/sh if [ `basename $0` = "%(basename)s" ] then exec python%(pyver)s -c "import sys, os; sys.path.insert(0, os.path.abspath('$0')); from %(pkg)s import %(base)s; sys.exit(%(full)s())" "$@" else echo $0 is not the correct name for this egg file. echo Please rename it back to %(basename)s and try again. exec false fi )reÚa)r Z parse_maprJZ entry_pointsÚgetZattrsZextrasrÚsysÚversionZ module_namerIrrrLrAÚlocalsrerrjr)r*rx) rCZepmZepZpyverÚpkgZfullr!rLÚheaderr,rrrr�s*      zbdist_egg.gen_headercCsltjj|jƒ}tjj|dƒ}xJ|jjjD]<}|j|ƒr(tjj||t |ƒd…ƒ}t |ƒ|j ||ƒq(WdS)z*Copy metadata (egg info) to the target_dirr–N) rrÚnormpathrErIrGZfilelistr#r\rZr Z copy_file)rCZ target_dirZ norm_egg_infoÚprefixrÚtargetrrrrw:s zbdist_egg.copy_metadata_toc Csg}g}|jdi}x|t|jƒD]n\}}}x6|D].}tjj|ƒdjƒtkr.|j|||ƒq.Wx*|D]"}|||d|tjj||ƒ<qfWqW|j j ƒ�r |j dƒ}xd|j D]Z} t | tƒr¾q®|j| jƒ} |j| ƒ}tjj|ƒjdƒs®tjjtjj|j|ƒƒr®|j|ƒq®W||fS)zAGet a list of relative paths to C extensions in the output distror–rPrlZ build_extzdl-)r<r$rrrÚlowerÚNATIVE_EXTENSIONSr^rIrJrKrFÚ extensionsrXr Zget_ext_fullnamerˆZget_ext_filenamerLr\r}) rCrƒr„Úpathsr!r"r#rZ build_cmdr…ÚfullnamerrrrsFs(   &      zbdist_egg.get_ext_outputs)r/r0r1)r3Nr4úPkeep the pseudo-installation tree around after creating the distribution archive)r5r6r§)r7r8r9)r:Nr;)Ú__name__Ú __module__Ú __qualname__Ú descriptionrZ user_optionsZboolean_optionsrDrMrcrdr`r†rr|r�rwrsrrrrr.Cs4   Q' r.z.dll .so .dylib .pydccsLt|ƒ}t|ƒ\}}}d|kr(|jdƒ|||fVx|D] }|Vq:WdS)z@Walk an unpacked egg's contents, skipping the metadata directoryzEGG-INFON)r$Únextr�)Úegg_dirZwalkerr!r"r#Zbdfrrrr‰fs   r‰c Cs¨x0tjƒD]$\}}tjjtjj|d|ƒƒr |Sq Wtƒs.visit)Ú compression) Úzipfilerrrrjrr_Z ZIP_DEFLATEDZ ZIP_STOREDZZipFiler$rx) Z zip_filenamerÙrqreÚcompressrrrÜrÚrÛr×rjr"r#r)rÙrerr€×s  r€)rrTr%)2Ú__doc__Zdistutils.errorsrZdistutils.dir_utilrrZ distutilsrÚtypesrršrr‹r&rËZsetuptools.externrZ pkg_resourcesrr r r Zsetuptools.extensionr Z setuptoolsr Ú sysconfigrrrÚ ImportErrorZdistutils.sysconfigrrr$r-r.rÍrÎÚsplitr£r‰r”r{r®r±rÏr°rfr€rrrrÚsL         " $