• File: installer.cpython-37.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/installer.cpython-37.pyc
  • Date Modified: 11/13/2023 9:30 PM
  • File size: 2.66 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

mRe
@spddlZddlZddlZddlZddlZddlmZddlmZddl	Z	ddl
mZddZddZ
d	d
ZdS)N)log)DistutilsError)WheelcCs(t|tr|St|ttfs$t|S)z8Ensure find-links option end-up being a list of strings.)
isinstancestrsplittuplelistAssertionError)
find_linksrE/opt/alt/python37/lib/python3.7/site-packages/setuptools/installer.py_fixup_find_links
s
rcCs@ytdWn$tjk
r2|dtjYnXt|}|d}d|krVtddt	j
kohdt	j
k}dt	j
krzd	}nd
|kr|d
d}nd	}d|krt|ddd	d	ng}|jr|
|jt	j|}t}x(t|D]}||kr||r|SqWt }	tjd
ddddd|	g}
|r>|
d|d	k	rV|

d|fx"|p`gD]}|

d|fqbW|
|jpt|yt|
Wn4tjk
r}ztt||Wd	d	}~XYnXttt	j |	dd}
t	j ||
!}|
"|t#|t	j |d}tj$j%||d}|SQRXd	S)zLFetch an egg needed for building.

    Use pip/wheel to fetch/build a wheel.wheelz,WARNING: The wheel package is not available.Zeasy_installZallow_hostszQthe `allow-hosts` option is not supported when using pip to install requirements.Z	PIP_QUIETZPIP_VERBOSEZ
PIP_INDEX_URLN	index_urlrz-mZpipz--disable-pip-version-checkz	--no-depsz-wz--quietz--index-urlz--find-linksz*.whlrzEGG-INFO)Zmetadata)&
pkg_resourcesZget_distributionZDistributionNotFoundZannouncerZWARNstrip_markerZget_option_dictrosenvironrZdependency_linksextendpathrealpathZget_egg_cache_dirZEnvironmentZfind_distributionsZcan_addtempfileZTemporaryDirectorysys
executableappendZurlr
subprocessZ
check_callZCalledProcessErrorrglobjoinZegg_nameZinstall_as_eggZPathMetadataZDistributionZ
from_filename)ZdistreqZoptsquietrrZeggs_dirZenvironmentZegg_distZtmpdircmdlinkerZ
dist_locationZ
dist_metadatarrr
fetch_build_eggs^

 

 

r%cCstjt|}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)rZRequirementparserZmarker)r rrr
rXsr)rrrrrZ	distutilsrZdistutils.errorsrrZsetuptools.wheelrrr%rrrrr
<module>sC