GRAYBYTE WORDPRESS FILE MANAGER3614

Server IP : 149.255.58.128 / Your IP : 216.73.216.154
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib64/python3.9/distutils/command/__pycache__/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib64/python3.9/distutils/command/__pycache__//sdist.cpython-39.pyc
a

�DOg=J�@s�dZddlZddlZddlmZddlmZddlmZddlm	Z	ddlm
Z
ddlmZdd	lm
Z
dd
lmZddlmZddlmZdd
lmZmZdd�ZGdd�de�ZdS)zadistutils.command.sdist

Implements the Distutils 'sdist' command (create a source distribution).�N)�glob)�warn)�Command)�dir_util)�	file_util)�archive_util)�TextFile)�FileList)�log)�convert_path)�DistutilsTemplateError�DistutilsOptionErrorcCs`ddlm}ddlm}g}|��D] }|�d|d||df�q$|��||��d�dS)zoPrint all possible values for the 'formats' option (used by
    the "--help-formats" command-line option).
    r)�FancyGetopt)�ARCHIVE_FORMATS�formats=N�z.List of available source distribution formats:)Zdistutils.fancy_getoptrZdistutils.archive_utilr�keys�append�sort�
print_help)rr�formats�format�r�//usr/lib64/python3.9/distutils/command/sdist.py�show_formatss
��rc@seZdZdZdd�Zgd�Zgd�ZdddefgZd	d
d�Z	defgZ
d
Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zedd��Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Zd4d5�Z d6d7�Z!d8d9�Z"dS):�sdistz6create a source distribution (tarball, zip file, etc.)cCs|jS)zYCallable used for the check sub-command.

        Placed here so user_options can view it)�metadata_check��selfrrr�checking_metadata(szsdist.checking_metadata))z	template=�tz5name of manifest template file [default: MANIFEST.in])z	manifest=�mz)name of manifest file [default: MANIFEST])�use-defaultsNzRinclude the default file set in the manifest [default; disable with --no-defaults])�no-defaultsNz"don't include the default file set)�pruneNz�specifically exclude files/directories that should not be distributed (build tree, RCS/CVS dirs, etc.) [default; disable with --no-prune])�no-pruneNz$don't automatically exclude anything)�
manifest-only�ozEjust regenerate the manifest and then stop (implies --force-manifest))�force-manifest�fzkforcibly regenerate the manifest and carry on as usual. Deprecated: now the manifest is always regenerated.)rNz6formats for source distribution (comma-separated list))�	keep-temp�kz@keep the distribution tree around after creating archive file(s))z	dist-dir=�dzFdirectory to put the source distribution archive(s) in [default: dist])�metadata-checkNz[Ensure that all required elements of meta-data are supplied. Warn if any missing. [default])zowner=�uz@Owner name used when creating a tar file [default: current user])zgroup=�gzAGroup name used when creating a tar file [default: current group])r"r$r&r(r*r-zhelp-formatsNz#list available distribution formatsr"r$)r#r%�check)ZREADMEz
README.txtz
README.rstcCsTd|_d|_d|_d|_d|_d|_dg|_d|_d|_d|_	d|_
d|_d|_dS)N�r�gztar)
�template�manifest�use_defaultsr$�
manifest_onlyZforce_manifestr�	keep_temp�dist_dir�
archive_filesr�owner�grouprrrr�initialize_optionseszsdist.initialize_optionscCsZ|jdurd|_|jdur d|_|�d�t�|j�}|rFtd|��|jdurVd|_dS)NZMANIFESTzMANIFEST.inrzunknown archive format '%s'�dist)r4r3Zensure_string_listrZcheck_archive_formatsrr
r8)rZ
bad_formatrrr�finalize_options|s


�
zsdist.finalize_optionscCs>t�|_|��D]}|�|�q|��|jr2dS|��dS�N)r	�filelistZget_sub_commandsZrun_command�
get_file_listr6�make_distribution)rZcmd_namerrr�run�sz	sdist.runcCs*tdt�|j�d�}|��|��dS)zDeprecated API.zadistutils.command.sdist.check_metadata is deprecated,               use the check command insteadr0N)r�PendingDeprecationWarning�distributionZget_command_objZensure_finalizedrC)rr0rrr�check_metadata�s�zsdist.check_metadatacCs�tj�|j�}|s:|��r:|��|j��|j��dS|sN|�	d|j�|j�
�|jrf|��|rr|�
�|jr�|��|j��|j��|��dS)aCFigure out the list of files to include in the source
        distribution, and put it in 'self.filelist'.  This might involve
        reading the manifest template (and writing the manifest), or just
        reading the manifest, or just using the default file set -- it all
        depends on the user's options.
        Nz?manifest template '%s' does not exist (using default file list))�os�path�isfiler3�_manifest_is_not_generated�
read_manifestr@rZremove_duplicatesr�findallr5�add_defaults�
read_templater$�prune_file_list�write_manifest)rZtemplate_existsrrrrA�s(

�


zsdist.get_file_listcCs<|��|��|��|��|��|��|��dS)a9Add all the default files to self.filelist:
          - README or README.txt
          - setup.py
          - test/test*.py
          - all pure Python modules mentioned in setup script
          - all files pointed by package_data (build_py)
          - all files defined in data_files.
          - all files defined as scripts.
          - all C sources listed as part of extensions or C libraries
            in the setup script (doesn't catch C headers!)
        Warns if (README or README.txt) or setup.py are missing; everything
        else is optional.
        N)�_add_defaults_standards�_add_defaults_optional�_add_defaults_python�_add_defaults_data_files�_add_defaults_ext�_add_defaults_c_libs�_add_defaults_scriptsrrrrrM�szsdist.add_defaultscCs:tj�|�sdStj�|�}tj�|�\}}|t�|�vS)z�
        Case-sensitive path existence check

        >>> sdist._cs_path_exists(__file__)
        True
        >>> sdist._cs_path_exists(__file__.upper())
        False
        F)rGrH�exists�abspath�split�listdir)�fspathrYZ	directory�filenamerrr�_cs_path_exists�s

zsdist._cs_path_existscCs�|j|jjg}|D]~}t|t�rj|}d}|D]"}|�|�r,d}|j�|�qPq,|s�|�dd�	|��q|�|�r�|j�|�q|�d|�qdS)NFTz,standard file not found: should have one of z, zstandard file '%s' not found)
�READMESrE�script_name�
isinstance�tupler^r@rr�join)rZ	standards�fnZaltsZgot_itrrrrQ�s"

�
zsdist._add_defaults_standardscCs4ddg}|D]"}ttjjt|��}|j�|�qdS)Nz
test/test*.pyz	setup.cfg)�filterrGrHrIrr@�extend)rZoptional�pattern�filesrrrrRszsdist._add_defaults_optionalcCs\|�d�}|j��r$|j�|���|jD],\}}}}|D]}|j�tj	�
||��q:q*dS)N�build_py)�get_finalized_commandrEZhas_pure_modulesr@rf�get_source_files�
data_filesrrGrHrc)rri�pkgZsrc_dirZ	build_dir�	filenamesr]rrrrSs

zsdist._add_defaults_pythoncCsz|j��rv|jjD]b}t|t�rBt|�}tj�|�rt|j	�
|�q|\}}|D]$}t|�}tj�|�rN|j	�
|�qNqdSr?)rEZhas_data_filesrlra�strrrGrHrIr@r)r�item�dirnamernr)rrrrT$s

zsdist._add_defaults_data_filescCs(|j��r$|�d�}|j�|���dS)N�	build_ext)rEZhas_ext_modulesrjr@rfrk)rrrrrrrU5s

zsdist._add_defaults_extcCs(|j��r$|�d�}|j�|���dS)N�
build_clib)rEZhas_c_librariesrjr@rfrk)rrsrrrrV:s

zsdist._add_defaults_c_libscCs(|j��r$|�d�}|j�|���dS)N�
build_scripts)rEZhas_scriptsrjr@rfrk)rrtrrrrW?s

zsdist._add_defaults_scriptsc
Cs�t�d|j�t|jddddddd�}zr|��}|dur:q�z|j�|�Wq(ttfy�}z$|�	d|j
|j|f�WYd}~q(d}~00q(W|��n
|��0dS)z�Read and parse manifest template file named by self.template.

        (usually "MANIFEST.in") The parsing and processing is done by
        'self.filelist', which updates itself accordingly.
        zreading manifest template '%s'r1)Zstrip_commentsZskip_blanksZ
join_linesZ	lstrip_wsZ	rstrip_wsZ
collapse_joinNz%s, line %d: %s)
r
�infor3r�readliner@Zprocess_template_liner�
ValueErrorrr]Zcurrent_line�close)rr3�line�msgrrrrNDs"
�
�"zsdist.read_templatecCsz|�d�}|j��}|jjd|jd�|jjd|d�tjdkrFd}nd}gd�}d|d	�|�|f}|jj|d
d�dS)avPrune off branches that might slip into the file list as created
        by 'read_template()', but really don't belong there:
          * the build tree (typically "build")
          * the release tree itself (only an issue if we ran "sdist"
            previously with --keep-temp, or it aborted)
          * any RCS, CVS, .svn, .hg, .git, .bzr, _darcs directories
        �buildN)�prefix�win32z/|\\�/)�RCS�CVSz\.svnz\.hgz\.gitz\.bzr�_darcsz(^|%s)(%s)(%s).*�|r1)Zis_regex)	rjrE�get_fullnamer@Zexclude_patternZ
build_base�sys�platformrc)rr{�base_dir�sepsZvcs_dirsZvcs_ptrnrrrrOas


zsdist.prune_file_listcCsX|��rt�d|j�dS|jjdd�}|�dd�|�tj	|j|fd|j�dS)z�Write the file list in 'self.filelist' (presumably as filled in
        by 'add_defaults()' and 'read_template()') to the manifest file
        named by 'self.manifest'.
        z5not writing to manually maintained manifest file '%s'Nrz*# file GENERATED by distutils, do NOT editzwriting manifest file '%s')
rJr
rur4r@rh�insertZexecuterZ
write_file)rZcontentrrrrPys��zsdist.write_manifestcCsDtj�|j�sdSt|j�}z|��}W|��n
|��0|dkS)NFz+# file GENERATED by distutils, do NOT edit
)rGrHrIr4�openrvrx)r�fpZ
first_linerrrrJ�s

z sdist._manifest_is_not_generatedcCsjt�d|j�t|j��>}|D](}|��}|�d�s|s:q|j�|�qWd�n1s\0YdS)z�Read the manifest file (named by 'self.manifest') and use it to
        fill in 'self.filelist', the list of files to include in the source
        distribution.
        zreading manifest file '%s'�#N)r
rur4r��strip�
startswithr@r)rr4ryrrrrK�szsdist.read_manifestcCs�|�|�tj|||jd�ttd�r4d}d|}nd}d|}|sPt�d�n
t�|�|D]<}tj	�
|�s|t�d|�q^tj	�||�}|j|||d	�q^|j
j�|�dS)
a�Create the directory tree that will become the source
        distribution archive.  All directories implied by the filenames in
        'files' are created under 'base_dir', and then we hard link or copy
        (if hard linking is unavailable) those files into place.
        Essentially, this duplicates the developer's source tree, but in a
        directory named after the distribution, containing only the files
        to be distributed.
        ��dry_run�linkZhardzmaking hard links in %s...Nzcopying files to %s...z)no files to distribute -- empty manifest?z#'%s' not a regular file -- skipping)r�)ZmkpathrZcreate_treer��hasattrrGr
rrurHrIrcZ	copy_filerE�metadataZwrite_pkg_info)rr�rhr�rz�file�destrrr�make_release_tree�s 
	


zsdist.make_release_treecCs�|j��}tj�|j|�}|�||jj�g}d|j	vrT|j	�
|j	�|j	�d���|j	D]:}|j
||||j|jd�}|�
|�|jj�
dd|f�qZ||_|js�tj||jd�dS)a�Create the source distribution(s).  First, we create the release
        tree with 'make_release_tree()'; then, we create all required
        archive files (according to 'self.formats') from the release tree.
        Finally, we clean up by blowing away the release tree (unless
        'self.keep_temp' is true).  The list of archive files created is
        stored so it can be retrieved later by 'get_archive_files()'.
        �tar)r�r:r;r�r�N)rEr�rGrHrcr8r�r@rhrr�pop�index�make_archiver:r;Z
dist_filesr9r7rZremove_treer�)rr��	base_namer9�fmtr�rrrrB�s




�
zsdist.make_distributioncCs|jS)zzReturn the list of archive files created when the command
        was run, or None if the command hasn't run yet.
        )r9rrrr�get_archive_files�szsdist.get_archive_files)#�__name__�
__module__�__qualname__�descriptionrZuser_optionsZboolean_optionsrZhelp_optionsZnegative_optZsub_commandsr_r<r>rCrFrArM�staticmethodr^rQrRrSrTrUrVrWrNrOrPrJrKr�rBr�rrrrr$sH'���
(
*r)�__doc__rGr�r�warningsrZdistutils.corerZ	distutilsrrrZdistutils.text_filerZdistutils.filelistr	r
Zdistutils.utilrZdistutils.errorsrr
rrrrrr�<module>s

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
December 12 2024 22:42:25
0 / root
0755
__init__.cpython-39.opt-1.pyc
0.464 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.opt-2.pyc
0.357 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.pyc
0.464 KB
December 12 2024 10:11:38
0 / root
0644
bdist.cpython-39.opt-1.pyc
3.521 KB
December 12 2024 10:11:38
0 / root
0644
bdist.cpython-39.opt-2.pyc
3.331 KB
December 12 2024 10:11:38
0 / root
0644
bdist.cpython-39.pyc
3.521 KB
December 12 2024 10:11:38
0 / root
0644
bdist_dumb.cpython-39.opt-1.pyc
3.504 KB
December 12 2024 10:11:38
0 / root
0644
bdist_dumb.cpython-39.opt-2.pyc
3.309 KB
December 12 2024 10:11:38
0 / root
0644
bdist_dumb.cpython-39.pyc
3.504 KB
December 12 2024 10:11:38
0 / root
0644
bdist_msi.cpython-39.opt-1.pyc
19.241 KB
December 12 2024 10:11:38
0 / root
0644
bdist_msi.cpython-39.opt-2.pyc
17.736 KB
December 12 2024 10:11:38
0 / root
0644
bdist_msi.cpython-39.pyc
19.307 KB
December 12 2024 10:11:38
0 / root
0644
bdist_rpm.cpython-39.opt-1.pyc
11.89 KB
December 12 2024 10:11:38
0 / root
0644
bdist_rpm.cpython-39.opt-2.pyc
11.578 KB
December 12 2024 10:11:38
0 / root
0644
bdist_rpm.cpython-39.pyc
11.938 KB
December 12 2024 10:11:38
0 / root
0644
bdist_wininst.cpython-39.opt-1.pyc
8.296 KB
December 12 2024 10:11:38
0 / root
0644
bdist_wininst.cpython-39.opt-2.pyc
8.16 KB
December 12 2024 10:11:38
0 / root
0644
bdist_wininst.cpython-39.pyc
8.345 KB
December 12 2024 10:11:38
0 / root
0644
build.cpython-39.opt-1.pyc
3.79 KB
December 12 2024 10:11:38
0 / root
0644
build.cpython-39.opt-2.pyc
3.709 KB
December 12 2024 10:11:38
0 / root
0644
build.cpython-39.pyc
3.79 KB
December 12 2024 10:11:38
0 / root
0644
build_clib.cpython-39.opt-1.pyc
4.688 KB
December 12 2024 10:11:38
0 / root
0644
build_clib.cpython-39.opt-2.pyc
4.146 KB
December 12 2024 10:11:38
0 / root
0644
build_clib.cpython-39.pyc
4.688 KB
December 12 2024 10:11:38
0 / root
0644
build_ext.cpython-39.opt-1.pyc
15.812 KB
December 12 2024 10:11:38
0 / root
0644
build_ext.cpython-39.opt-2.pyc
13.9 KB
December 12 2024 10:11:38
0 / root
0644
build_ext.cpython-39.pyc
15.812 KB
December 12 2024 10:11:38
0 / root
0644
build_py.cpython-39.opt-1.pyc
10.138 KB
December 12 2024 10:11:38
0 / root
0644
build_py.cpython-39.opt-2.pyc
8.959 KB
December 12 2024 10:11:38
0 / root
0644
build_py.cpython-39.pyc
10.188 KB
December 12 2024 10:11:38
0 / root
0644
build_scripts.cpython-39.opt-1.pyc
4.229 KB
December 12 2024 10:11:38
0 / root
0644
build_scripts.cpython-39.opt-2.pyc
3.844 KB
December 12 2024 10:11:38
0 / root
0644
build_scripts.cpython-39.pyc
4.229 KB
December 12 2024 10:11:38
0 / root
0644
check.cpython-39.opt-1.pyc
4.793 KB
December 12 2024 10:11:38
0 / root
0644
check.cpython-39.opt-2.pyc
4.178 KB
December 12 2024 10:11:38
0 / root
0644
check.cpython-39.pyc
4.793 KB
December 12 2024 10:11:38
0 / root
0644
clean.cpython-39.opt-1.pyc
2.033 KB
December 12 2024 10:11:38
0 / root
0644
clean.cpython-39.opt-2.pyc
1.952 KB
December 12 2024 10:11:38
0 / root
0644
clean.cpython-39.pyc
2.033 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.opt-1.pyc
9.973 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.opt-2.pyc
6.714 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.pyc
9.973 KB
December 12 2024 10:11:38
0 / root
0644
install.cpython-39.opt-1.pyc
13.314 KB
December 12 2024 10:11:38
0 / root
0644
install.cpython-39.opt-2.pyc
12.284 KB
December 12 2024 10:11:38
0 / root
0644
install.cpython-39.pyc
13.314 KB
December 12 2024 10:11:38
0 / root
0644
install_data.cpython-39.opt-1.pyc
2.231 KB
December 12 2024 10:11:38
0 / root
0644
install_data.cpython-39.opt-2.pyc
2.09 KB
December 12 2024 10:11:38
0 / root
0644
install_data.cpython-39.pyc
2.231 KB
December 12 2024 10:11:38
0 / root
0644
install_egg_info.cpython-39.opt-1.pyc
2.949 KB
December 12 2024 10:11:38
0 / root
0644
install_egg_info.cpython-39.opt-2.pyc
2.286 KB
December 12 2024 10:11:38
0 / root
0644
install_egg_info.cpython-39.pyc
2.949 KB
December 12 2024 10:11:38
0 / root
0644
install_headers.cpython-39.opt-1.pyc
1.67 KB
December 12 2024 10:11:38
0 / root
0644
install_headers.cpython-39.opt-2.pyc
1.508 KB
December 12 2024 10:11:38
0 / root
0644
install_headers.cpython-39.pyc
1.67 KB
December 12 2024 10:11:38
0 / root
0644
install_lib.cpython-39.opt-1.pyc
4.963 KB
December 12 2024 10:11:38
0 / root
0644
install_lib.cpython-39.opt-2.pyc
4.396 KB
December 12 2024 10:11:38
0 / root
0644
install_lib.cpython-39.pyc
4.963 KB
December 12 2024 10:11:38
0 / root
0644
install_scripts.cpython-39.opt-1.pyc
2.083 KB
December 12 2024 10:11:38
0 / root
0644
install_scripts.cpython-39.opt-2.pyc
1.952 KB
December 12 2024 10:11:38
0 / root
0644
install_scripts.cpython-39.pyc
2.083 KB
December 12 2024 10:11:38
0 / root
0644
register.cpython-39.opt-1.pyc
8.255 KB
December 12 2024 10:11:38
0 / root
0644
register.cpython-39.opt-2.pyc
7.02 KB
December 12 2024 10:11:38
0 / root
0644
register.cpython-39.pyc
8.255 KB
December 12 2024 10:11:38
0 / root
0644
sdist.cpython-39.opt-1.pyc
14.141 KB
December 12 2024 10:11:38
0 / root
0644
sdist.cpython-39.opt-2.pyc
10.86 KB
December 12 2024 10:11:38
0 / root
0644
sdist.cpython-39.pyc
14.141 KB
December 12 2024 10:11:38
0 / root
0644
upload.cpython-39.opt-1.pyc
5.106 KB
December 12 2024 10:11:38
0 / root
0644
upload.cpython-39.opt-2.pyc
4.983 KB
December 12 2024 10:11:38
0 / root
0644
upload.cpython-39.pyc
5.106 KB
December 12 2024 10:11:38
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF