选择文件�文件大�最�修改时间�作
[📄] 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
a fÍCiEVã@s.dZddlZddlZddlZddlZddlZddlZejejga da da da dd„Z dd„Zdd„Zd d „Zd d „Zd2d d„Zdd„Zdd„Zdd„Zdd„Zdd„Zdd„Zd3dd„Zd4dd„Zdd „Zd!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„Z d+d,„Z!d-d.„Z"ej#j$�se"ƒd/d0„Z%e&d1k�r*e%ƒdS)5a¶ Append module search paths for third-party packages to sys.path. **************************************************************** * This module is automatically imported during initialization. * **************************************************************** This will append site-specific paths to the module search path. On Unix (including Mac OSX), it starts with sys.prefix and sys.exec_prefix (if different) and appends lib/python/site-packages. On other platforms (such as Windows), it tries each of the prefixes directly, as well as with lib/site-packages appended. The resulting directories, if they exist, are appended to sys.path, and also inspected for path configuration files. If a file named "pyvenv.cfg" exists one directory above sys.executable, sys.prefix and sys.exec_prefix are set to that directory and it is also checked for site-packages (sys.base_prefix and sys.base_exec_prefix will always be the "real" prefixes of the Python installation). If "pyvenv.cfg" (a bootstrap configuration file) contains the key "include-system-site-packages" set to anything other than "false" (case-insensitive), the system-level prefixes will still also be searched for site-packages; otherwise they won't. All of the resulting site-specific directories, if they exist, are appended to sys.path, and also inspected for path configuration files. A path configuration file is a file whose name has the form .pth; its contents are additional directories (one per line) to be added to sys.path. Non-existing directories (or non-directories) are never added to sys.path; no directory is added to sys.path more than once. Blank lines and lines beginning with '#' are skipped. Lines starting with 'import' are executed. For example, suppose sys.prefix and sys.exec_prefix are set to /usr/local and there is a directory /usr/local/lib/python2.5/site-packages with three subdirectories, foo, bar and spam, and two path configuration files, foo.pth and bar.pth. Assume foo.pth contains the following: # foo package configuration foo bar bletch and bar.pth contains: # bar package configuration bar Then the following directories are added to sys.path, in this order: /usr/local/lib/python2.5/site-packages/bar /usr/local/lib/python2.5/site-packages/foo Note that bletch is omitted because it doesn't exist; bar precedes foo because bar.pth comes alphabetically before foo.pth; and spam is omitted because it is not mentioned in either path configuration file. The readline module is also automatically configured to enable completion for systems that support it. This can be overridden in sitecustomize, usercustomize or PYTHONSTARTUP. Starting Python in isolated mode (-I) disables automatic readline configuration. After these operations, an attempt is made to import a module named sitecustomize, which can perform arbitrary additional site-specific customizations. If this import fails with an ImportError exception, it is silently ignored. éNcGs@tjj|Ž}ztj |¡}Wnty.Yn0|tj |¡fS©N)ÚosÚpathÚjoinÚabspathÚOSErrorÚnormcase)ÚpathsÚdir©r ú/usr/lib64/python3.9/site.pyÚmakepath\s   r c CsŽttj ¡ƒD]z}tt|ddƒddƒdvr,qztj |j¡|_Wnt t t fyXYn0ztj |j ¡|_ Wqt t t fy†Yq0qdS)zESet all module __file__ and __cached__ attributes to an absolute pathÚ __loader__NÚ __module__)Ú_frozen_importlibÚ_frozen_importlib_external) ÚsetÚsysÚmodulesÚvaluesÚgetattrrrrÚ__file__ÚAttributeErrorrÚ TypeErrorÚ __cached__)Úmr r r Ú abs_pathsesÿrcCsPg}tƒ}tjD],}t|ƒ\}}||vr| |¡| |¡q|tjdd…<|S)zK Remove duplicate entries from sys.path along with making them absoluteN)rrrr ÚappendÚadd)ÚLÚ known_pathsr Údircaser r r Úremoveduppathsus    r"c CsTtƒ}tjD]B}z&tj |¡r4t|ƒ\}}| |¡Wq tyLYq Yq 0q |S)zEReturn a set containing all existing file system items from sys.path.)rrrrÚexistsr rr)ÚdÚitemÚ_Úitemcaser r r Ú_init_pathinfoˆs     r(c CsÔ|durtƒ}d}nd}tj ||¡}zt |¡}WntyHYdS0t|ddƒtj@snt|ddƒtj @rrdSzt   t   |¡¡}WntyšYdS0|��t |ƒD]ø\}}| d¡rÀq¬z^| d¡rØt|ƒWq¬| ¡}t||ƒ\} } | |v�rtj | ¡�rtj | ¡| | ¡Wq¬t�y¢td  |d |¡tjd �ddl} | jt ¡ŽD](} |  ¡D]}td |tjd ��qj�q^td tjd �Y�q¦Yq¬0q¬Wdƒn1�s¼0Y|�rÐd}|S)zÖProcess a .pth file within the site-packages directory: For each line in the file, either combine it with sitedir to a path and add that to known_paths, or execute it if it starts with 'import '. NTFÚst_flagsrÚst_file_attributesú#)zimport zimport z"Error processing line {:d} of {}: é)Úfilez z Remainder of file ignored)r(rrrÚlstatrrÚstatÚ UF_HIDDENÚFILE_ATTRIBUTE_HIDDENÚioÚ TextIOWrapperÚ open_codeÚ enumerateÚ startswithÚexecÚrstripr r#rrrÚ ExceptionÚprintÚformatÚstderrÚ tracebackÚformat_exceptionÚexc_infoÚ splitlines) ÚsitedirÚnamer ÚresetÚfullnameÚstÚfÚnÚliner r!r=Úrecordr r r Ú addpackage•sV ÿ    ÿ 0rJcCsš|durtƒ}d}nd}t|ƒ\}}||vrBtj |¡| |¡zt |¡}WntydYdS0dd„|Dƒ}t |ƒD]}t |||ƒq||r–d}|S)zTAdd 'sitedir' argument to sys.path if missing and handle .pth files in 'sitedir'NTFcSs$g|]}| d¡r| d¡s|‘qS)z.pthÚ.)Úendswithr6)Ú.0rBr r r Ú Ösÿzaddsitedir..) r(r rrrrrÚlistdirrÚsortedrJ)rAr rCÚ sitedircaseÚnamesrBr r r Ú addsitedirÆs$     rScCs`tjjr dSttdƒr4ttdƒr4t ¡t ¡kr4dSttdƒr\ttdƒr\t ¡t ¡kr\dSdS)a,Check if user site directory is safe for inclusion The function tests for the command line flag (including environment var), process uid/gid equal to effective uid/gid. None: Disabled for security reasons False: Disabled by user (command line option) True: Safe and enabled FÚgetuidÚgeteuidNÚgetgidÚgetegidT) rÚflagsÚ no_user_siteÚhasattrrrUrTrWrVr r r r Úcheck_enableusersiteßs r[cCsztj dd¡}|r|Sdd„}tjdkrBtj d¡p6d}||dƒStjdkrptjrp|dd tjd tjdd …ƒS|dd ƒS) NÚPYTHONUSERBASEcWstj tjj|Ž¡Sr)rrÚ expanduserr)Úargsr r r Újoinusersz_getuserbase..joinuserÚntÚAPPDATAú~ÚPythonÚdarwinÚLibraryz%d.%déz.local)rÚenvironÚgetrBrÚplatformÚ _frameworkÚ version_info)Úenv_baser_Úbaser r r Ú _getuserbaseÿs   ÿrncCsdtj}tjdkr,|›d|d›|d›d�StjdkrFtjrF|›d�S|›d|d›d |d›d �S) Nr`z\Pythonrr,z\site-packagesrdz/lib/python/site-packagesz /lib/pythonrKz/site-packages)rrkrrBrirj)ÚuserbaseÚversionr r r Ú _get_paths   rqcCstdurtƒatS)zËReturns the `user base` directory path. The `user base` directory can be used to store data. If the global variable ``USER_BASE`` is not initialized yet, this function will also set it. N)Ú USER_BASErnr r r r Ú getuserbasesrscCstƒ}tdurt|ƒatS)z¢Returns the user-specific site-packages directory path. If the global variable ``USER_SITE`` is not initialized yet, this function will also set it. N)rsÚ USER_SITErq)ror r r Úgetusersitepackages,srucCs$tƒ}tr tj |¡r t||ƒ|S)z†Add a per user site-package to sys.path Each user has its own python directory with site-packages in the home directory. )ruÚENABLE_USER_SITErrÚisdirrS)r Ú user_siter r r Úaddusersitepackages:s ryc CsÆg}tƒ}|durt}|D]¦}|r||vr,q| |¡tjg}tjdkrR| d¡tjdkr’|D].}tj  ||dtj dd…d¡}| |¡q`q| |¡|D]}tj  ||d¡}| |¡q q|S)aReturns a list containing all global site-packages directories. For each directory present in ``prefixes`` (or the global ``PREFIXES``), this function will find its `site-packages` subdirectory depending on the system environment, and will return a list of full paths. NÚlibú/z python%d.%drfz site-packages) rÚPREFIXESrrÚ platlibdirrrÚseprrrk)ÚprefixesÚ sitepackagesÚseenÚprefixÚlibdirsÚlibdirrr r r ÚgetsitepackagesHs.      þ r…cCsBtrdtjvrt dd¡t|ƒD]}tj |¡r"t||ƒq"|S)z¥Add site-packages to sys.path '/usr/local' is included in PREFIXES if RPM build is not detected to make packages installed into this location visible. ÚRPM_BUILD_ROOTrz /usr/local) rvrrgr|Úinsertr…rrwrS)r rrAr r r Úaddsitepackagesls     rˆcCs4tjdkrd}nd}t d|¡t_t d|¡t_dS)z­Define new builtins 'quit' and 'exit'. These are objects which make the interpreter exit when called. The repr of each object contains a hint at how it works. ú\zCtrl-Z plus ReturnzCtrl-D (i.e. EOF)ÚquitÚexitN)rr~Ú _sitebuiltinsÚQuitterÚbuiltinsrŠr‹)Úeofr r r Úsetquit{s  r�cCs¤t dtj¡t_tjdd…dkr2t dd¡t_nt dd¡t_gg}}ttdƒrŽtj   tj ¡}|  d d g¡|  tj   |tj¡|tjg¡t d d ||¡t_dS) z)Set 'copyright' and 'credits' in builtinsÚ copyrightNéÚjavaÚcreditsz?Jython is maintained by the Jython developers (www.jython.org).zž Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information.rz LICENSE.txtÚLICENSEÚlicensez'See https://www.python.org/psf/license/)rŒÚ_Printerrr‘rŽrir”rZrrÚdirnamerÚextendrÚpardirÚcurdirr–)ÚfilesÚdirsÚherer r r Ú setcopyright‹s"þ  ýrŸcCst ¡t_dSr)rŒÚ_HelperrŽÚhelpr r r r Ú sethelper£sr¢cCsdd„}|t_dS)ajEnable default readline configuration on interactive prompts, by registering a sys.__interactivehook__. If the readline module can be imported, the hook will set the Tab key as completion key and register ~/.python_history as history file. This can be overridden in the sitecustomize or usercustomize module, or in a PYTHONSTARTUP file. csäddl}zddl‰ddl}Wnty0YdS0tˆddƒ}|durZd|vrZˆ d¡n ˆ d¡z ˆ ¡Wnty‚Yn0ˆ ¡dkràt j   t j   d¡d¡‰zˆ  ˆ¡WntyÆYn0‡‡fd d „}| |¡dS) NrÚ__doc__ÚÚlibeditzbind ^I rl_completez tab: completerbz.python_historycs&zˆ ˆ¡Wnty Yn0dSr)Úwrite_history_filerr ©ÚhistoryÚreadliner r Ú write_historyÕs zCenablerlcompleter..register_readline..write_history)Úatexitr©Ú rlcompleterÚ ImportErrorrÚparse_and_bindÚread_init_filerÚget_current_history_lengthrrrr]Úread_history_fileÚregister)r«r¬Ú readline_docrªr r§r Úregister_readline¯s0        ÿ z,enablerlcompleter..register_readlineN)rÚ__interactivehook__)r´r r r Úenablerlcompleter¦s 0r¶cCs^tj}tjdkr*d|vr*tjd}t_ntj}tj tj |¡¡\}}tj  |¡}dt_ d}dd„tj  ||¡tj  ||¡fDƒ}|�rZ|d}d} t |dd ��f} | D]P} d | vr¨|   d ¡\} }} |  ¡ ¡} |  ¡} | d krê|  ¡} q¨| d kr¨| t_ q¨Wdƒn1�s0Y|t_t_t|tjgƒ| dk�rNt dtj¡n tjgad a|S)NrdÚ__PYVENV_LAUNCHER__z pyvenv.cfgcSsg|]}tj |¡r|‘qSr )rrÚisfile)rMÚconffiler r r rNís üzvenv..rÚtruezutf-8)Úencodingú=zinclude-system-site-packagesÚhomeF)rrgrriÚ_base_executableÚ executablerÚsplitrr˜Ú_homerÚopenÚ partitionÚstripÚlowerr‚Ú exec_prefixrˆr|r‡rv)r Úenvr¿Úexe_dirr&Ú site_prefixÚ conf_basenameÚcandidate_confsÚ virtual_confÚ system_siterFrHÚkeyÚvaluer r r ÚvenvásB   þÿ  (  rÐc CsžzDz ddl}Wn2ty@}z|jdkr*n‚WYd}~n d}~00WnTty˜}z2 - unknown error r,z sys.path = [z %r,ú]zUSER_BASE: %r (%s)r#z doesn't existzUSER_SITE: %r (%s)zENABLE_USER_SITE: %rrz --user-basez --user-siteFrféé )rÚargvrsrur:rrrwrvr‹rrrrtÚpathseprÚtextwrapÚdedent)r¡r^Ú user_baserxr Úbufferrär r r Ú_script_sD ÿÿ          rèÚ__main__)N)N)N)'r£rrrŽrŒr2r/r‚rÆr|rvrtrrr rr"r(rJrSr[rnrqrsruryr…rˆr�rŸr¢r¶rÐrÙrÛrÞrXÚno_siterèrÖr r r r ÚsJG   1     $ ;4 3