Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/sdist.pyc
ó
tĆ_c @ sÄ d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m
Z
e
r d d l m Z m
Z
d d l m Z d d l m Z n e j e Z d
e f d YZ d S( i˙˙˙˙N( t BuildEnvironment( t AbstractDistribution( t InstallationError( t runner_with_spinner_message( t MYPY_CHECK_RUNNING( t Sett Tuple( t Distribution( t
PackageFindert SourceDistributionc B s) e Z d Z d Z d Z d Z RS( s˝ Represents a source distribution.
The preparation step for these needs metadata for the packages to be
generated, either using PEP 517 or using the legacy `setup.py egg_info`.
c C s
| j j S( N( t reqt get_dist( t self( ( sR /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/sdist.pyt get_pkg_resources_distribution s c C sF | j j | j j o | } | r5 | j | n | j j d S( N( R
t load_pyproject_tomlt
use_pep517t _setup_isolationt prepare_metadata( R t findert build_isolationt should_isolate( ( sR /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/sdist.pyt prepare_distribution_metadata s
c s f d } j j } | d k s0 t t j _ j j j | | d d j j j j j \ } r | d n | rÖ t j
d j t j
d d j t t
t | n j j Q t d } j j } | d k s
t | j | | j } Wd QXWd QX j j j | \ } rf| d n j j j | | d
d d S( Nc
sP d } | j d j d | d d j d t D } t | d S( NsZ Some build dependencies for {requirement} conflict with {conflicting_with}: {description}.t requirementt conflicting_witht descriptions , c s s' | ] \ } } d j | | Vq d S( s {} is incompatible with {}N( t format( t .0t installedt wanted( ( sR /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/sdist.pys <genexpr>6 s ( R R
t joint sortedR ( R t conflicting_reqst
format_stringt
error_message( t conflictingR ( sR /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/sdist.pyt _raise_conflicts, s t overlays Installing build dependenciess"