Your IP : 3.145.42.140
�
�Rec @ s| 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 Z e j d � � Z d � Z d � Z
d S( i����Nc c s* t j � } z | VWd t j | � Xd S( s2 Create a temporary directory in a context manager.N( t tempfilet mkdtempt shutilt rmtree( t td( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/dirtools.pyt tempdir
s c O sF y t j | | � SWn+ t k
rA } | j t j k rB � qB n Xd S( sW Like `mkdir`, but does not raise an exception if the
directory already exists.
N( t ost mkdirt OSErrort errnot EEXIST( t argst kwargst exc( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/dirtools.pyt mkdir_p s
c C s� t j � } t j | d � } x� t j | � D]� \ } } } xL | D]D } t j j | | � } t j j | | � } | j | d d � qD WxH | D]@ } t j j | | � } t j j | | � } | j
| | � q� Wq. W| S( s0 Construct an in-memory zip file for a directory.t wt /t ( t iot BytesIOt zipfilet ZipFileR t walkt patht joint relpatht writestrt write( t roott buffert zip_filet dirst filesR t fs_patht rel_path( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/dirtools.pyt dir_to_zipfile s
( R R t
contextlibR R R R t contextmanagerR R R# ( ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/dirtools.pyt <module> s