prhddlZddlZddlZddlZddlZddlZddlmZddlm Z ddl Z ddl m Z ddl mZdZdZd ZdS) N)log)DistutilsError)Wheel)SetuptoolsDeprecationWarningct|tr|St|ttfsJ|S)z8Ensure find-links option end-up being a list of strings.) isinstancestrsplittuplelist) find_linkss `/var/lib/jenkins/jobs/Dev/workspace/my-venv/lib/python3.11/site-packages/setuptools/installer.py_fixup_find_linksrsF*c"""!!! j5$- 0 0000 c  tjdt tjdn5#tj$r#|dtjYnwxYwt|}| d}d|vrtddtj vo dtj v}d tj vrd }nd |vr|d d }nd }d |vr#t|d d d d ng}|jr||jtj|}tj}tj|D]}||vr||r|cS t/j5} t2jdddddd| g} |r| d|| d|f|pgD]} | d| f| |jpt;| t=j| n4#t<j $r"} tt;| | d } ~ wwxYwtCtEj"tj#| dd} tj#|| $}| %|tj&|tj#|d}tj'(||}|cd d d S#1swxYwYd S)zLFetch an egg needed for building. Use pip/wheel to fetch/build a wheel.z\setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.wheelz,WARNING: The wheel package is not available. easy_install allow_hostszQthe `allow-hosts` option is not supported when using pip to install requirements. PIP_QUIET PIP_VERBOSE PIP_INDEX_URLN index_urlrrz-mpipz--disable-pip-version-checkz --no-depsz-wz--quietz --index-urlz --find-linksz*.whlrzEGG-INFO)metadata))warningswarnr pkg_resourcesget_distributionDistributionNotFoundannouncerWARN strip_markerget_option_dictrosenvironrdependency_linksextendpathrealpathget_egg_cache_dir Environmentfind_distributionscan_addtempfileTemporaryDirectorysys executableappendurlr subprocess check_callCalledProcessErrorrglobjoinegg_nameinstall_as_egg PathMetadata Distribution from_filename)distreqoptsquietrreggs_dir environmentegg_disttmpdircmdlinker dist_location dist_metadatas rfetch_build_eggrLs M /$ P&w////  -PPP DchOOOOOP s  C    / /DGHH H rz ) Mm2:.ME"*$$   %a(  7Ct7K7K$|,Q/0033  1$/000w 6 6 8 899H+--K!4X>> s??{228<>qABB Xu~~/?/?@@  ]+++%2 27<< zBBDD )77 M8339sG1/A#"A#4B M8IM8J%JJC$M88M<?M<cltjt|}d|_|S)z Return a new requirement without the environment marker to avoid calling pip with something like `babel; extra == "i18n"`, which would always be ignored. N)r Requirementparser marker)r@s rr#r#_s,  # ) )#c(( 3 3CCJ Jr)r8r%r5r1r/r distutilsrdistutils.errorsrrsetuptools.wheelr_deprecation_warningrrrLr#rrrVs  ++++++"""""">>>>>>EEEP     r