7iLddlZddlZddlZddlmZddlmZddlmZddl m Z ddl m Z m Z ddlmZddlmZdd lmZdd lmZmZdd lmZmZdd lmZdd lmZmZej>e Z!Gdde Z"y)N)Values)List) WheelCache) cmdoptions)RequirementCommand with_cleanup)SUCCESS) CommandError)get_build_tracker)InstallRequirementcheck_legacy_setup_py_options) ensure_dirnormalize_path) TempDirectory)buildshould_build_for_wheel_commandc@eZdZdZdZd dZededee de fdZ y) WheelCommanda Build Wheel archives for your requirements and dependencies. Wheel is a built-package format, and offers the advantage of not recompiling your software during every install. For more details, see the wheel docs: https://wheel.readthedocs.io/en/latest/ 'pip wheel' uses the build system interface as described here: https://pip.pypa.io/en/stable/reference/build-system/ z %prog [options] ... %prog [options] -r ... %prog [options] [-e] ... %prog [options] [-e] ... %prog [options] ...returnNc|jjddddtjd|jjt j |jjt j |jjt j|jjt j|jjt j|jjt j|jjt j|jjt j|jjt j|jjt j|jjt j|jjt j |jjt j"|jjt j$|jjddd d d |jjt j&|jjt j(|jjt j*|jjd d d d|jjt j,t j.tj0|j2}|j2j5d||j2j5d|jy)Nz-wz --wheel-dir wheel_dirdirzLBuild wheels into , where the default is the current working directory.)destmetavardefaulthelpz --no-verify no_verify store_trueFz%Don't verify if built wheel is valid.)ractionrrz--prezYInclude pre-release and development versions. By default, pip only finds stable versions.)rrrr)cmd_opts add_optionoscurdirr no_binary only_binary prefer_binaryno_build_isolation use_pep517 no_use_pep517check_build_deps constraintseditable requirementssrcignore_requires_pythonno_deps progress_barconfig_settings build_optionsglobal_optionsrequire_hashesmake_option_group index_groupparserinsert_option_group)self index_optss e/mnt/ssd/data/python-lab/ChefSystem/venv/lib/python3.12/site-packages/pip/_internal/commands/wheel.py add_optionszWheelCommand.add_options,s    II- !    !5!5!78   !7!7!9:   !9!9!;<   !>!>!@A   !6!6!89   !9!9!;<   !?   !7!7!9:   !4!4!67   !8!8!:;   !12   !B!B!DE   !3!3!56   !8!8!:;   8 !    !;!;!=>   !9!9!;<   !:!:!<=   2 !    !:!:!<=11  " " KK '':6 ''4==9optionsargsc |j|}|j||}t|j|_t |j|j t }t|j dd}|j||||}t||t|j}|j||||||jd|j} |j| ||||j |j"} |j%|| j'|d} g} | j(j+D]=} | j,r| j/| !t1| s-| j3| ?| j5| j(j+| j7t9| ||j: |j<xsg|j>xsg\}}|D]_} | j@r| j@j,sJ| jBsJ tEjF| jB|jatQ|d k7r tSd tTS#tH$r<}tJjMd | jN||j3| Yd}~d}~wwxYw) NwheelT)deletekindglobally_managedF)temp_build_dirr? build_trackersessionfinder download_dir use_user_site verbosity)preparerrIr? wheel_cacher/r()check_supported_wheels)rNverifyr3r4z Building wheel for %s failed: %srz"Failed to build one or more wheels)+get_default_session_build_package_finderrrr enter_contextr rno_cleanget_requirementsr r cache_dirmake_requirement_preparerrL make_resolverr/r(trace_basic_inforesolver-valuesis_wheelsave_linked_requirementrappend prepare_linked_requirements_more#warn_legacy_versions_and_specifiersrrr3r4linklocal_file_pathshutilcopyOSErrorloggerwarningnamelenr r )r:r?r@rHrIrG directoryreqsrNrMresolverrequirement_set reqs_to_buildreqbuild_successesbuild_failureses r<runzWheelCommand.rungs**73++GW=*7+<+<=7$$%**+<+>? !'''! $$T7FGD%gt4 !2!23 11$' **nn2  %%##*#A#A)) &  f%"**4*M24 "//668 *C||005/4$$S)  * 11/2N2N2U2U2WX;;=+0 #)))!//52"117R + '# +C88 1 1 11&& && + C//1B1BC + ~ ! #CD D +6HH %%c**  +s=*J K 2KK )rN) __name__ __module__ __qualname____doc__usager=rrrstrintrsr>r<rrsF  0E9:vO6OcOsOOr>r)#loggingr"rcoptparsertypingrpip._internal.cacherpip._internal.clirpip._internal.cli.req_commandrrpip._internal.cli.status_codesr pip._internal.exceptionsr ,pip._internal.operations.build.build_trackerr pip._internal.req.req_installr r pip._internal.utils.miscrrpip._internal.utils.temp_dirrpip._internal.wheel_builderrr getLoggerrtrfrr{r>r<rsX *(J21J@6M   8 $_%_r>