Edit file File name : glob.pyc Content :� �fc @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d d g Z e d � Z e d � Z d � Z d � Z d � Z d � Z d � Z e j d � Z e j d � Z d � Z d � Z d � Z d S( s� Filename globbing utility. Mostly a copy of `glob` from Python 3.5. Changes include: * `yield from` and PEP3102 `*` removed. * `bytes` changed to `six.binary_type`. * Hidden files are not ignored. i����N( t binary_typet globt iglobt escapec C s t t | d | �� S( sy Return a list of paths matching a pathname pattern. The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by '*' and '?' patterns. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. t recursive( t listR ( t pathnameR ( ( s3 /usr/lib/python2.7/site-packages/setuptools/glob.pyR s c C sA t | | � } | r= t | � r= t | � } | s= t � n | S( s� Return an iterator which yields the paths matching a pathname pattern. The pattern may contain simple shell-style wildcards a la fnmatch. However, unlike fnmatch, filenames starting with a dot are special cases that are not matched by '*' and '?' patterns. If recursive is true, the pattern '**' will match any files and zero or more directories and subdirectories. ( t _iglobt _isrecursivet nextt AssertionError( R R t itt s( ( s3 /usr/lib/python2.7/site-packages/setuptools/glob.pyR s c c sn t j j | � \ } } t | � se | rG t j j | � ra | Vqa n t j j | � ra | Vn d S| s� | r� t | � r� x>