选择文件�文件大�最�修改时间�作
[📄] 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 >¦±hã@sHdZddlmZddlZddlZddlZddlZddlZ ddl m Z ddl m Z ddlmZddlZddlmZdd lmZdd lmZdd lmZgd ¢ZejjZdZd ZdgZGdd„dƒZ Gdd„de ƒZ!e j"Z#e!j"Z$dd„Z%dd„Z&e j'j&je&_e (e j'j)¡Z*Gdd„de*ƒZ)dd„Z+ej,fdd„Z-Gdd„de.ƒZ/e 0¡dS)z@Extensions to the 'distutils' for large or complex distributionsé©Ú fnmatchcaseN)ÚDistutilsOptionError)Ú convert_pathé)ÚSetuptoolsDeprecationWarning)Ú Extension)Ú Distribution)ÚRequire)Úmonkey)Úsetupr ÚCommandrr rÚ find_packagesÚfind_namespace_packagesTz lib2to3.fixesc@sBeZdZdZeddd„ƒZedd„ƒZed d „ƒZed d „ƒZ d S)Ú PackageFinderzI Generate a list of all Python packages found within a directory Ú.©©Ú*cCs,t| t|ƒ|jddg|¢RŽ|j|Ž¡ƒS)a Return a list all Python packages found within directory 'where' 'where' is the root directory which will be searched for packages. It should be supplied as a "cross-platform" (i.e. URL-style) path; it will be converted to the appropriate local path syntax. 'exclude' is a sequence of package names to exclude; '*' can be used as a wildcard in the names, such that 'foo.*' will exclude all subpackages of 'foo' (but not 'foo' itself). 'include' is a sequence of package names to include. If it's specified, only the named packages will be included. If it's not specified, all found packages will be included. 'include' can contain shell style wildcard patterns just like 'exclude'. Zez_setupz *__pycache__)ÚlistÚ_find_packages_iterrÚ _build_filter)ÚclsÚwhereÚexcludeÚincluderrú7/usr/lib/python3.9/site-packages/setuptools/__init__.pyÚfind-s ýzPackageFinder.findc cs tj|dd�D]Œ\}}}|dd…}g|dd…<|D]d}tj ||¡} tj | |¡} |  tjjd¡} d|vs4| | ¡sxq4|| ƒrŽ|| ƒsŽ| V| |¡q4qdS)zy All the packages found in 'where' that pass the 'include' filter, but not the 'exclude' filter. T©Ú followlinksNr) ÚosÚwalkÚpathÚjoinÚrelpathÚreplaceÚsepÚ_looks_like_packageÚappend) rrrrÚrootÚdirsÚfilesZall_dirsÚdirÚ full_pathZrel_pathÚpackagerrrrDs  z!PackageFinder._find_packages_itercCstj tj |d¡¡S)z%Does a directory look like a package?z __init__.py)r r"Úisfiler#©r"rrrr'`sz!PackageFinder._looks_like_packagecs ‡fdd„S)z� Given a list of patterns, return a callable that will be true only if the input matches at least one of the patterns. cst‡fdd„ˆDƒƒS)Nc3s|]}tˆ|d�VqdS))ÚpatNr)Ú.0r1©ÚnamerrÚ kóz@PackageFinder._build_filter....)Úanyr3©Zpatternsr3rÚkr6z-PackageFinder._build_filter..rr8rr8rreszPackageFinder._build_filterN)rrr) Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú classmethodrrÚ staticmethodr'rrrrrr(s   rc@seZdZedd„ƒZdS)ÚPEP420PackageFindercCsdS)NTrr0rrrr'osz'PEP420PackageFinder._looks_like_packageN)r:r;r<r?r'rrrrr@nsr@cCs>Gdd„dtjjƒ}||ƒ}|jdd�|jr:| |j¡dS)Nc@s eZdZdZdd„Zdd„ZdS)z4_install_setup_requires..MinimalDistributionzl A minimal version of a distribution for supporting the fetch_build_eggs interface. cs6d}‡fdd„t|ƒtˆƒ@Dƒ}tjj ||¡dS)N)Zdependency_linksÚsetup_requirescsi|]}|ˆ|“qSrr)r2Úk©ÚattrsrrÚ ‚sÿzQ_install_setup_requires..MinimalDistribution.__init__..)ÚsetÚ distutilsÚcorer Ú__init__)ÚselfrDZ_inclZfilteredrrCrrI€s  þz=_install_setup_requires..MinimalDistribution.__init__cSsdS)zl Disable finalize_options to avoid building the working set. Ref #2158. Nr)rJrrrÚfinalize_optionsˆszE_install_setup_requires..MinimalDistribution.finalize_optionsN)r:r;r<r=rIrKrrrrÚMinimalDistribution{srLT)Zignore_option_errors)rGrHr Zparse_config_filesrAZfetch_build_eggs)rDrLÚdistrrrÚ_install_setup_requiresxs  rNcKst|ƒtjjfi|¤ŽS©N)rNrGrHr rCrrrr –sr c@s:eZdZejZdZdd„Zd dd„Zdd„Zd d d „Z dS)r FcKst ||¡t|ƒ |¡dS)zj Construct the command for dist, updating vars(self) with any keyword parameters. N)Ú_CommandrIÚvarsÚupdate)rJrMÚkwrrrrI§s zCommand.__init__NcCsBt||ƒ}|dur"t|||ƒ|St|tƒs>td|||fƒ‚|S)Nz'%s' must be a %s (got `%s`))ÚgetattrÚsetattrÚ isinstanceÚstrr)rJÚoptionZwhatÚdefaultÚvalrrrÚ_ensure_stringlike¯s   ÿzCommand._ensure_stringlikecCspt||ƒ}|durdSt|tƒr6t||t d|¡ƒn6t|tƒrTtdd„|Dƒƒ}nd}|sltd||fƒ‚dS)zîEnsure that 'option' is a list of strings. If 'option' is currently a string, we split it either on /,\s*/ or /\s+/, so "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become ["foo", "bar", "baz"]. Nz,\s*|\s+css|]}t|tƒVqdSrO)rVrW)r2Úvrrrr5Ær6z-Command.ensure_string_list..Fz''%s' must be a list of strings (got %r)) rTrVrWrUÚreÚsplitrÚallr)rJrXrZÚokrrrÚensure_string_list¹s   ÿÿzCommand.ensure_string_listrcKs t |||¡}t|ƒ |¡|SrO)rPÚreinitialize_commandrQrR)rJZcommandZreinit_subcommandsrSÚcmdrrrrbÎszCommand.reinitialize_command)N)r) r:r;r<rPr=Zcommand_consumes_argumentsrIr[rarbrrrrr ¢s  r cCs&dd„tj|dd�Dƒ}ttjj|ƒS)z% Find all files under 'path' css,|]$\}}}|D]}tj ||¡VqqdSrO)r r"r#)r2Úbaser*r+Úfilerrrr5Øsþz#_find_all_simple..Tr)r r!Úfilterr"r/)r"ÚresultsrrrÚ_find_all_simpleÔs þrhcCs6t|ƒ}|tjkr.tjtjj|d�}t||ƒ}t|ƒS)zŒ Find all files under 'dir' and return the list of full filenames. Unless dir is '.', return full filenames with dir prepended. )Ústart) rhr ÚcurdirÚ functoolsÚpartialr"r$Úmapr)r,r+Zmake_relrrrÚfindallàs   rnc@seZdZdZdS)Úsicz;Treat this string as-is (https://en.wikipedia.org/wiki/Sic)N)r:r;r<r=rrrrroìsro)1r=Úfnmatchrrkr r]Z_distutils_hack.overrideZ_distutils_hackZdistutils.corerGZdistutils.errorsrZdistutils.utilrZ_deprecation_warningrZsetuptools.versionZ setuptoolsZsetuptools.extensionrZsetuptools.distr Zsetuptools.dependsr Úr Ú__all__ÚversionÚ __version__Zbootstrap_install_fromZrun_2to3_on_doctestsZlib2to3_fixer_packagesrr@rrrrNr rHZ get_unpatchedr rPrhrjrnrWroZ patch_allrrrrÚs@        F 2