ROOTPLOIT
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: ws67150586 (67150586)
PHP: 8.3.36
Disabled: NONE
Upload Files
File: //kunden/kunden/kunden/lib/python3/dist-packages/wheel/_commands/__pycache__/pack.cpython-313.pyc
�

��g���SSKJr SSKrSSKrSSKrSSKJr SSK	J
r
 SSKJrJ
r
 \R"S5rS
SjrSS	jrg)�)�annotationsN)�BytesGenerator)�BytesParser�)�
WheelError�	WheelFilez6^(?P<namever>(?P<name>.+?)-(?P<ver>\d.*?))\.dist-info$c	��[R"U5Vs/sHdn[RR[RR	X55(dMF[
R
U5(dMbUPMf nn[U5S:�a[SU35eU(d[SU35eUSn[
R
U5RS5n[RR	XS5n[US5n[[RRS9RU5n	U	R!S	/5n
U	R#S
5nU
(d[SUS35eS
S
S
5 UbUOWnUbJW	S
	U(aX)S
'USU--
nUW:wa.[US5n[%USS9R'U	5 S
S
S
5 [)W
5n[RR	XSUS35n
[+U
S5n[-SU
S3SSS9 UR/U5 S
S
S
5 [-S5 g
s snf!,(df   N�=f!,(df   N�=f!,(df   NA=f)a.Repack a previously unpacked wheel directory into a new wheel file.

The .dist-info/WHEEL file must contain one or more tags so that the target
wheel file name can be determined.

:param directory: The unpacked wheel directory
:param dest_dir: Destination directory (defaults to the current directory)
�z)Multiple .dist-info directories found in z#No .dist-info directories found in r�namever�WHEEL�rb)�policy�Tag�BuildzNo tags present in z./WHEEL; cannot determine target wheel filenameN�-�wb)�maxheaderlenz.whl�wzRepacking wheel as z...�T)�end�flush�OK)�os�listdir�path�isdir�join�DIST_INFO_RE�match�lenr�group�openr�emailr�compat32�parse�get_all�getr�flatten�compute_tagliner�print�write_files)�	directory�dest_dir�build_number�fn�dist_info_dirs�
dist_info_dir�name_version�wheel_file_path�f�info�tags�existing_build_number�tagline�
wheel_path�wfs               �6/usr/lib/python3/dist-packages/wheel/_commands/pack.py�packr<s5���*�*�Y�'��'�B�
�7�7�=�=������i�4�5�	�:F�:L�:L�R�:P�	�'���
�>��Q���D�Y�K�P�Q�Q�
��>�y�k�J�K�K�#�1�%�M��%�%�m�4�:�:�9�E�L��g�g�l�l�9�W�E�O�	
�o�t�	$���%�,�,�"7�"7�8�>�>�q�A���,�,�u�b�1�� $���� 1����%�m�_�5!�"��
��
%�$0�#;�<�AV�L�����M��(��M��C�,�.�.�L��0�0��o�t�,���q�q�1�9�9�$�?�-��d�#�G������h�.��'��$�(G�H�J�	�:�s�	#�r�
�#�J�<�s�3��4�H�
���y�!�
$�
�$�K��a� 
%�	$��(-�,��
$�	#�s7�AI�"I�>I�
A*I
�2I�!I,�

I�
I)�,
I:c��[UVs1sHoRS5SiM sn5n[UVs1sHoRS5SiM sn5n[UVs1sHoRS5SiM sn5nSRSRU5SRU5SRU5/5$s snfs snfs snf)zWCompute a tagline from a list of tags.

:param tags: A list of tags
:return: A tagline
rrr
r�.)�sorted�splitr)r6�tag�impls�abivers�	platformss     r;r)r)Ks���
��6��#�I�I�c�N�1�%��6�7�E��4�8�4�C�i�i��n�Q�'�4�8�9�G��T�:�T�c�	�	�#��q�)�T�:�;�I��8�8�S�X�X�e�_�c�h�h�w�&7����)�9L�M�N�N��7��8��:s�C	�C�$C)r,�strr-rEr.z
str | None�return�None)r6z	list[str]rFrE)�
__future__r�email.policyr#�os.pathr�re�email.generatorr�email.parserr�	wheelfilerr�compilerr<r)��r;�<module>rRs5��"���	�*�$�-��z�z�S�T��:�z	OrQ