403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/wheel/cli/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/wheel/cli/__pycache__/convert.cpython-311.pyc
�

�lc�$���ddlmZddlZddlZddlZddlZddlZddlm	Z	ddl
m
Z
ddlmZddl
mZ	dd	lmZn#e$r	dd	lmZYnwxYwejd
ej��ZGd�de
��Zdd�Zd�Zd�Zd�ZdS)�)�annotationsN)�iglob�)�bdist_wheel)�	WheelFile�)�
WheelError)�Distributionz]
    (?P<name>.+?)-(?P<ver>.+?)
    (-(?P<pyver>py\d\.\d+)
     (-(?P<arch>.+?))?
    )?.egg$c��eZdZdZdZd�ZdS)�_bdist_wheel_tagFNc�T�|jr|j�|jStj|��S)N)�full_tag_supplied�full_tagr�get_tag)�selfs �3/usr/lib/python3/dist-packages/wheel/cli/convert.pyrz_bdist_wheel_tag.get_tag&s-���!�	-�d�m�&?��=� ��&�t�,�,�,�)�__name__�
__module__�__qualname__rrr�rrrrs0���������H�-�-�-�-�-rr�egg_path�str�dest_dirc��tj�|��}t�|��}|std|�����|���}tjd���}tj�	|��rBtj|��5}|�|��ddd��n#1swxYwYn�tj
|��D]�}tj�||��}tj�	|��rtj||���Wtj|tj�||������|d}	|	r|	�dd��x}	|d<|dpd�dd	���d
d	��}
|
dkr
d|	dd�znd
}|ddu}|rt't)����}
nt+t)����}
||
_|	|
_d|
_|dpd|
_|sd|
_|	||
f|
_tj�|djdi|����}|
�tj�|d��|��|
�|d���dj||
fi|��}t?tj�||��d��5}|� |��ddd��n#1swxYwYtj!|��dS)NzInvalid egg file name: �_e2w��suffix�pyver�.��arch�any�_�-�cpr�noneTz{name}-{ver}.dist-infozEGG-INFO�	egg2wheel��	generatorz{name}-{ver}-{pyver}-{}-{}.whl�wr)"�os�path�basename�egg_info_re�matchr	�	groupdict�tempfile�mkdtemp�isfile�zipfile�ZipFile�
extractall�listdir�join�shutil�copy2�copytree�replacerr
r�root_is_pure�
python_tag�plat_name_supplied�	plat_namerr�format�egg2dist�write_wheelfiler�write_files�rmtree)rr�filenamer0�egg_info�dir�egg�pth�srcrr"�abi�root_is_purelib�bw�
dist_info_dir�
wheel_name�wfs                 rr(r(-s����w����)�)�H����h�'�'�E��?��=�8�=�=�>�>�>���� � �H�
�
�&�
)�
)�
)�C�	�w�~�~�h���=�
�_�X�
&�
&�	 �#��N�N�3����	 �	 �	 �	 �	 �	 �	 �	 �	 �	 �	 ����	 �	 �	 �	 ���:�h�'�'�	=�	=�C��'�,�,�x��-�-�C��w�~�~�c�"�"�
=���S�#�&�&�&�&����R�W�\�\�#�s�%;�%;�<�<�<�<��W��E��;�$)�M�M�#�r�$:�$:�:����!��V��%��.�.�s�C�8�8�@�@��c�J�J�D�#�e�m�m�$��q�r�r��
�
��C��v�&�$�.�O��.�
����
(�
(���
�l�n�n�
-�
-��%�B�O��B�M� �B���F�#�,�u�B�L��)�#����c�4�(����G�L�L��&E�&>�&E�&Q�&Q��&Q�&Q�R�R�M��K�K�����S�*�-�-�}�=�=�=����}���<�<�<�8�1�8��d�O�O�h�O�O�J�	�2�7�<�<��*�5�5�s�	;�	;��r�
���s�����������������������M�#�����s$�*C�C�C�L2�2L6�9L6c�0�d}|r/t�|��}|std|�d����|�d��\}}}|std|�d����|dd�}|�d��\}}}|r.|�d��r|}|�dd	��}nd
}|�d��\}}}	|std|�d����|r*|�d��}|�d��}|||	|d
�S)atExtract metadata from filenames.

    Extracts the 4 metadataitems needed (name, version, pyversion, arch) from
    the installer filename and the name of the egg-info directory embedded in
    the zipfile (if any).

    The egginfo filename has the format::

        name-ver(-pyver)(-arch).egg-info

    The installer filename has the format::

        name-ver.arch(-pyver).exe

    Some things to note:

    1. The installer filename is not definitive. An installer can be renamed
       and work perfectly well as an installer. So more reliable data should
       be used whenever possible.
    2. The egg-info data should be preferred for the name and version, because
       these come straight from the distutils metadata, and are mandatory.
    3. The pyver from the egg-info data should be ignored, as it is
       constructed from the version of Python used to build the installer,
       which is irrelevant - the installer filename is correct here (even to
       the point that when it's not there, any version is implied).
    4. The architecture must be taken from the installer filename, as it is
       not included in the egg-info data.
    5. Architecture-neutral installers still have an architecture because the
       installer format itself (being executable) is architecture-specific. We
       should therefore ignore the architecture if the content is pure-python.
    NzEgg info filename z
 is not validr%zInstaller filename ����pyr r!zpy2.py3�name�ver)rVrWr"r)r/�search�
ValueError�	partition�
rpartition�
startswithr=�group)
�wininfo_name�egginfo_name�egginfo�w_name�sep�rest�rest2�w_pyver�w_ver�w_archs
          r�parse_wininst_inforhcsd��B�G��O��$�$�\�2�2���	O��M�,�M�M�M�N�N�N�%�.�.�s�3�3��F�C���L��J�|�J�J�J�K�K�K�����9�D��/�/�#�.�.��E�3��
�	�w�!�!�$�'�'�	����/�/�#�r�*�*���������-�-��E�3���L��J�|�J�J�J�K�K�K��%����v�&�&���
�
�e�$�$���5�&�7�K�K�Krc�T�tj|��5}d}|���D]
}d|vr|}n�ttj�|��|��}d}|���D] }|j�	d��rd}n�!|rddi}nddi}d|z}	d	|	z}
g}d}|���D]�}|j�
d
d��\}}
|���}|�|d��}|�|
|���zd
z}|j}||
z}||_|j
|=||j
|<|r|�|��|s5|�d��r|}��d|vr|�d
��\}}}��t#jd
���}|�||��ddd��n#1swxYwYd}|d}|dpd�dd���dd��}|rd}|dkr|�dd��}d�|	|||f��}|rt-t/����}nt1t/����}||_||_d|_|dpd|_|sd|_|||f|_tj�|d|	z��}|�tj�||��|��|� |d���tj�||��}tC|d��5}|�"|��ddd��n#1swxYwYtGj$|��dS)Nz	.egg-infoT�PLATLIBF�purelibr!�platlibz%(name)s-%(ver)sz%s.data/�/rz
.egg-info/�_b2wrr'rr"r#r r$r%rUr&z%s.dist-info�
wininst2wheelr)r+)%r5r6�namelistrhr,r-r.�infolistrGr\�split�lower�get�
NameToInfo�append�endswithr[r2r3r7r=r9rr
rr>r?r@rArrrCrDrrEr:rF)r-r�bdwr_rG�inforN�zipinfo�paths�	dist_info�datadir�members�keyr.�basepath�oldname�newnamerbr$rIrMrr"rQrOrP�
wheel_pathrRs                            rroro�s\��	���	�	�0%�#��������	�	�H��h�&�&�'����'�"�"�'�"2�"2�4�"8�"8�,�G�G�����|�|�~�~�	�	�G���*�*�9�5�5�
�"'����
��	$���O�E�E���O�E�&��-�	��y�(�������|�|�~�~�	C�	C�G�#�,�2�2�3��:�:�M�C���)�)�+�+�C��y�y��d�+�+�H���"�S�Y�Y�[�[�0�3�6���&�G���)�G�&�G����w�'�&-�C�N�7�#��
(����w�'�'�'��
C��#�#�K�0�0�C�#*�L�L�!�W�,�,�+2�+=�+=�c�+B�+B�(�L�#�q����f�-�-�-�����s�G�$�$�$�a0%�0%�0%�0%�0%�0%�0%�0%�0%�0%�0%����0%�0%�0%�0%�f�C���M�E���L�!�E�*�*�3��4�4�<�<�S�#�F�F�D������u�}�}��
�
�d�D�)�)�����9�e�S�$�7�8�8�J��.�
����
(�
(���
�l�n�n�
-�
-��%�B�O��B�M� �B����<�(�5�B�L��)�#����c�4�(����G�L�L��n�y�&@�A�A�M��K�K�����S�,�/�/��?�?�?����}���@�@�@�����h�
�3�3�J�	�:�s�	#�	#��r�
���s�����������������������M�#�����s$�F8G�G� G�'N	�	N
�N
c�
�|D]}t|��D]m}tj�|��ddkrt}nt
}|rt
|�d�d���|||��|rt
d���n��dS)Nrz.eggz... T)�flush�OK)rr,r-�splitextr(ro�print)�filesr�verbose�pat�	installer�convs      r�convertr�s��������s���	�	�I��w���	�*�*�1�-��7�7� ���$���
6���(�(�(��5�5�5�5��D��H�%�%�%��
��d�����	��r)rrrr)�
__future__r�os.pathr,�rer:r2r5�globrr�	wheelfilerr!r	�
setuptoolsr
�ImportError�distutils.dist�compile�VERBOSEr/rr(rhror�rrr�<module>r�s{��"�"�"�"�"�"�����	�	�	�	�
�
�
�
���������������%�%�%�%�%�%�!�!�!�!�!�!�������,�'�'�'�'�'�'�'���,�,�,�+�+�+�+�+�+�+�+�,�����b�j��
�J�
���
-�
-�
-�
-�
-�{�
-�
-�
-� 3�3�3�3�lDL�DL�DL�NW�W�W�t
�
�
�
�
s�;�A	�A	

Youez - 2016 - github.com/yon3zu
LinuXploit