AlkantarClanX12
Current Path : /opt/alt/python27/lib/python2.7/site-packages/setuptools/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/glob.pyc |
� ��Rec @ 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 ( ( s� /builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/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( ( s� /builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/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>