AlkantarClanX12
Current Path : /proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/distlib/ |
Current File : //proc/thread-self/root/usr/lib/python2.7/site-packages/pip/_vendor/distlib/manifest.pyo |
� ��abc @ s� d 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 d g Z e j e � Z e j d e j � Z e j d e j e j B� Z e j d Z d e f d � � YZ d S( su Class representing the list of files in a distribution. Equivalent to distutils.filelist, but fixes some problems. i����Ni ( t DistlibException( t fsdecode( t convert_patht Manifests \\w* s #.*?(?= )| (?=$)i c B s� e Z d Z d d � Z d � Z d � Z d � Z e d � Z d � Z d � Z d � Z e d e d � Z e d e d � Z e d e d � Z d � Z RS( s~ A list of files built by on exploring the filesystem and filtered by applying various patterns to what we find there. c C sY t j j t j j | p! t j � � � | _ | j t j | _ d | _ t � | _ d S( sd Initialise an instance. :param base: The base directory to explore under. N( t ost patht abspatht normpatht getcwdt baset sept prefixt Nonet allfilest sett files( t selfR ( ( s@ /usr/lib/python2.7/site-packages/pip/_vendor/distlib/manifest.pyt __init__* s - c C s� d d l m } m } m } g | _ } | j } | g } | j } | j } x� | r� | � } t j | � } x� | D]{ } t j j | | � } t j | � } | j } | | � r� | j t | � � qu | | � ru | | � ru | | � qu qu WqP Wd S( sm Find all files under the base and set ``allfiles`` to the absolute pathnames of files found. i����( t S_ISREGt S_ISDIRt S_ISLNKN( t statR R R R R t popt appendR t listdirR t joint st_modeR ( R R R R R t roott stackR t pusht namest namet fullnameR t mode( ( s@ /usr/lib/python2.7/site-packages/pip/_vendor/distlib/manifest.pyt findall9 s"