ok
Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/ |
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyc |
� Bu�_c @@ s0 d d l m 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 m Z e r� d d l m Z d d l m Z m Z m Z m Z m Z m Z d d l m Z d d l m Z n e j e � Z e j d � � Z e j d � � Z d e f d � � YZ! d S( i ( t absolute_importN( t contextlib2( t TempDirectory( t MYPY_CHECK_RUNNING( t TracebackType( t Dictt Iteratort Optionalt Sett Typet Union( t InstallRequirement( t Linkc k@ s� t j } t � } i } xT | j � D]F \ } } y | | | | <Wn t k r` | | | <n X| | | <q% Wz d VWd xO | j � D]A \ } } | | k r� | | =q� t | t � s� t � | | | <q� WXd S( N( t ost environt objectt itemst KeyErrort isinstancet strt AssertionError( t changest targett non_existent_markert saved_valuest namet new_valuet original_value( ( sN /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt update_env_context_manager s c c@ s� t j j d � } t j � �q } | d k rq | j t d d � � j } | j t d | � � t j d | � n t | � � } | VWd QXWd QXd S( Nt PIP_REQ_TRACKERt kinds req-trackers Initialized build tracking at %s( R R t getR t ExitStackt Nonet enter_contextR t pathR t loggert debugt RequirementTracker( t roott ctxt tracker( ( sN /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/req/req_tracker.pyt get_requirement_tracker2 s R&