
     f                         d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlm	Z	 d dl
Z
d dlmZ ddlmZ d Zd Zd	 ZdS )
    N)log)DistutilsError)Wheel   )SetuptoolsDeprecationWarningc                     t          | t                    r|                                 S t          | t          t          f          sJ | S )z8Ensure find-links option end-up being a list of strings.)
isinstancestrsplittuplelist)
find_linkss    W/var/www/api.educacionweb.es/myenv/lib/python3.11/site-packages/setuptools/installer.py_fixup_find_linksr      sF    *c"" "!!!j5$-00000    c           	      
   t          j        dt                     	 t          j        d           n5# t          j        $ r# |                     dt          j                   Y nw xY wt          |          }| 
                    d          }d|v rt          d          dt          j        vodt          j        v}d	t          j        v rd
}nd|v r|d         d         }nd
}d|v r#t          |d         d                   d
d
         ng }| j        r|                    | j                   t          j                            |                                           }t          j                    }t          j        |          D ]}||v r|                    |          r|c S  t/          j                    5 }	t2          j        dddddd|	g}
|r|
                    d           ||
                    d|f           |pg D ]}|
                    d|f           |
                    |j        pt;          |                     	 t=          j        |
           n4# t<          j         $ r"}t          t;          |                    |d
}~ww xY wtC          tE          j"        t          j        #                    |	d                    d                   }t          j        #                    ||$                                          }|%                    |           t          j&        |t          j        #                    |d                    }t          j'        (                    ||          } | cd
d
d
           S # 1 swxY w Y   d
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_urlr   r   z-mpipz--disable-pip-version-checkz	--no-depsz-wz--quietz--index-urlz--find-linksz*.whlr   zEGG-INFO)metadata))warningswarnr   pkg_resourcesget_distributionDistributionNotFoundannouncer   WARNstrip_markerget_option_dictr   osenvironr   dependency_linksextendpathrealpathget_egg_cache_dirEnvironmentfind_distributionscan_addtempfileTemporaryDirectorysys
executableappendurlr
   
subprocess
check_callCalledProcessErrorr   globjoinegg_nameinstall_as_eggPathMetadataDistributionfrom_filename)distreqoptsquietr   r   eggs_direnvironmentegg_disttmpdircmdlinker   dist_locationdist_metadatas                   r   fetch_build_eggrL      s    M	/$  P&w////- P P PDchOOOOOP s

C //D G H H 	Hrz)Mm2:.ME"*$$					%a(			7Ct7K7K$|,Q/0033   1$/000w 6 6 8 899H+--K!4X>>  s??{228<<?OOO		$	&	& &ND%)[&	
  	"JJy!!! JJy1222$" 	/ 	/DJJ-.... 	

37&c#hh'''	0!#&&&&, 	0 	0 	0 Q((a/	0diVW = =>>qABBXu~~/?/?@@]+++%227<<zBBD D)77M 8 3 39                 sG   1 /A#"A#4BM8IM8J%JJC$M88M<?M<c                 l    t           j                            t          |                     } 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   Requirementparser
   marker)r@   s    r   r#   r#   _   s,     
#
)
)#c((
3
3CCJJr   )r8   r%   r5   r1   r/   r   	distutilsr   distutils.errorsr   r   setuptools.wheelr   _deprecation_warningr   r   rL   r#    r   r   <module>rV      s     				     



         + + + + + +     " " " " " " > > > > > >  E E EP	 	 	 	 	r   