Ë
    ��h$  ã                   óþ   — d dl Z d dlZd dlmZmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZmZ  e j                  e«      Zdee   ded	efd
„Zdee   dededee   ded	ee   fd„Zdedededee   dee   ded	ee   fd„Zy)é    N)ÚListÚOptional)Úopen_spinner)Ú
deprecated)Ú make_setuptools_bdist_wheel_args)Úcall_subprocessÚformat_command_argsÚcommand_argsÚcommand_outputÚreturnc                 óÎ   — t        | «      }d|› d�}|s|dz  }|S t        j                  «       t        j                  kD  r|dz  }|S |j                  d«      s|dz  }|d|› �z  }|S )z'Format command information for logging.zCommand arguments: ú
zCommand output: Nonez'Command output: [use --verbose to show]zCommand output:
)r	   ÚloggerÚgetEffectiveLevelÚloggingÚDEBUGÚendswith)r
   r   Úcommand_descÚtexts       úi/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_legacy.pyÚformat_command_resultr      sŒ   € ô
 ' |Ó4€LØ   ¨bÐ1€DáØÐ&Ñ&ˆð €Kô 
×	!Ñ	!Ó	#¤g§m¡mÒ	3ØÐ9Ñ9ˆð €Kð	 ×&Ñ& tÔ,Ø˜dÑ"ˆNØÐ# NÐ#3Ð4Ñ4ˆà€Kó    ÚnamesÚtemp_dirÚnamec                 ó.  — t        | «      } | s+d|›d�}|t        ||«      z  }t        j                  |«       yt	        | «      dkD  r-d|›d| › d�}|t        ||«      z  }t        j                  |«       t
        j                  j                  || d   «      S )z>Return the path to the wheel in the temporary build directory.zLegacy build of wheel for z created no files.
Né   z9 created more than one file.
Filenames (choosing first): r   r   )Úsortedr   r   ÚwarningÚlenÚosÚpathÚjoin)r   r   r   r
   r   Úmsgs         r   Úget_legacy_build_wheel_pathr%   !   s¡   € ô �5‹M€EÙØ*¨4¨(Ð2FÐGˆØÔ$ \°>ÓBÑBˆÜ�‰�sÔØä
ˆ5ƒz�A‚~à(¨¨ð 1+Ø+0¨'°ð5ð 	ð 	Ô$ \°>ÓBÑBˆÜ�‰�sÔä�7‰7�<‰<˜ %¨¡(Ó+Ð+r   Úsetup_py_pathÚ
source_dirÚglobal_optionsÚbuild_optionsÚtempdc                 ó°  — t        d| ›d�d| ›�dd¬«       t        ||||¬«      }d| › d	�}t        |«      5 }t        j	                  d
|«       	 t        |d||¬«      }	t        j                  |«      }
t        |
|| ||	¬«      }|cddd«       S # t        $ r2 |j                  d«       t        j                  d| «       Y ddd«       yw xY w# 1 sw Y   yxY w)zŒBuild one unpacked package using the "legacy" build process.

    Returns path to wheel if successfully built. Otherwise, returns None.
    z	Building z\ using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version.z·to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of z25.3i¾  )ÚreasonÚreplacementÚgone_inÚissue)r(   r)   Údestination_dirzBuilding wheel for z (setup.py)zDestination directory: %szpython setup.py bdist_wheel)r   ÚcwdÚspinnerÚerrorzFailed building wheel for %sN)r   r   r   r
   r   )r   r   r   r   Údebugr   Ú	ExceptionÚfinishr3   r!   Úlistdirr%   )r   r&   r'   r(   r)   r*   Ú
wheel_argsÚspin_messager2   Úoutputr   Ú
wheel_paths               r   Úbuild_wheel_legacyr<   <   s  € ô à˜�xð  9ð 9ðGð HLÀhðPð
 Øõô 2ØØ%Ø#Øô	€Jð )¨¨¨kÐ:€LÜ	�lÓ	#ð  wÜ�‰Ð0°%Ô8ð
	Ü$ØØ:ØØô	ˆFô —
‘
˜5Ó!ˆÜ0ØØØØ#Ø!ô
ˆ
ð ÷/ñ øô ò 	Ø�N‰N˜7Ô#Ü�L‰LÐ7¸Ô>Ø÷ð ð	ú÷ð ús/   ·CÁBÁ&CÂ0C	Â>CÃC	Ã	CÃC)r   Úos.pathr!   Útypingr   r   Úpip._internal.cli.spinnersr   Úpip._internal.utils.deprecationr   Ú$pip._internal.utils.setuptools_buildr   Úpip._internal.utils.subprocessr   r	   Ú	getLoggerÚ__name__r   Ústrr   r%   r<   © r   r   ú<module>rG      së   ðÛ Û ß !å 3Ý 6Ý Qß Oà	ˆ×	Ñ	˜8Ó	$€ðØ�s‘)ðàðð 	óð(,Ø�‰9ð,àð,ð ð,ð �s‘)ð	,ð
 ð,ð ˆc�]ó,ð6:Ø
ð:àð:ð ð:ð ˜‘Ið	:ð
 ˜‘9ð:ð ð:ð ˆc�]ô:r   