Your IP : 3.17.75.8


Current Path : /opt/alt/python313/lib/python3.13/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib/python3.13/site-packages/setuptools/__pycache__/glob.cpython-313.pyc

�

D\Lg���SrSSKrSSKrSSKr/SQrSSjrSSjrSrSrSr	S	r
S
r\R"S5r
\R"S5rS
rSrSrg)z�
Filename globbing utility. Mostly a copy of `glob` from Python 3.5.

Changes include:
 * `yield from` and PEP3102 `*` removed.
 * Hidden files are not ignored.
�N)�glob�iglob�escapec�&�[[XS95$)a]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.
)�	recursive)�listr)�pathnamers  ڈ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-1.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/glob.pyrrs����h�4�5�5�c�r�[X5nU(a$[U5(a[U5nU(aeU$)apReturn 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.
)�_iglob�_isrecursive�next)r	r�it�ss    r
rrs0��
��	$�B��\�(�+�+���H����u�
�Irc#�# �[RRU5up#U(a[U5(a[O[
n[
U5(dYU(a)[RRU5(aUv� g[RRU5(aUv� gU(dU"X#5Shv�N gX :wa[
U5(a[X!5nOU/n[
U5(d[nUH3nU"X#5H$n[RRX&5v� M& M5 gNy7f�N)�os�path�splitr�glob2�glob1�	has_magic�lexists�isdirr
�glob0�join)r	r�dirname�basename�glob_in_dir�dirs�names       r
r
r
0s�������
�
�h�/��G�$��h�)?�)?�%�U�K��X�����w�w���x�(�(���
	��w�w�}�}�W�%�%������w�1�1�1����y��1�1��g�)���y���X���������2�D��'�'�,�,�w�-�-�3��	2�s�CD>�D<�A:D>c��U(dE[U[5(a [RR	S5nO[Rn[R
"U5n[R"X!5$![a /s$f=f�N�ASCII)	�
isinstance�bytesr�curdir�encode�listdir�OSError�fnmatch�filter)r�pattern�namess   r
rrTsi����g�u�%�%��i�i�&�&�w�/�G��i�i�G���
�
�7�#���>�>�%�)�)�����	��s�A:�:B	�B	c���U(d*[RRU5(aU/$/$[RR[RR	X55(aU/$/$r)rrrrr)rrs  r
rras]����7�7�=�=��!�!��:��"�
�I��7�7�?�?�2�7�7�<�<��:�;�;��:��
�Irc#�j# �[U5(deUSSv� [U5HnUv� M	 g7f)Nr)r�	_rlistdir)rr.�xs   r
rrqs6����� � � � �
�"�1�+��
�w�
���� �s�13c#��# �U(dE[U[5(a [RR	S5nO[Rn[R
"U5nUHbnUv� U(a[RRX5OUn[U5H$n[RRX$5v� M& Md g![Ra gf=f7fr$)
r&r'rr(r)r*�errorrrr2)rr/r3r�ys     r
r2r2ys������g�u�%�%��i�i�&�&�w�/�G��i�i�G���
�
�7�#������+2�r�w�w�|�|�G�'����4��A��'�'�,�,�q�$�$�!����8�8����s+�A
C)�C�&A)C)�C&�#C)�%C&�&C)z([*?[])s([*?[])c��[U[5(a[RU5nUSL$[RU5nUSL$r)r&r'�magic_check_bytes�search�magic_check)r�matchs  r
rr�sI���!�U���!�(�(��+�������"�"�1�%�����rc�@�[U[5(aUS:H$US:H$)Ns**z**)r&r')r.s r
rr�s$���'�5�!�!��%����$��rc���[RRU5up[U[5(a[
R
SU5nX-$[R
SU5nX-$)zEscape all special characters.s[\1]z[\1])rr�
splitdriver&r'r8�subr:)r	�drives  r
rr�s_���g�g�(�(��2�O�E��(�E�"�"�$�(�(��8�<������?�?�7�H�5����r)F)�__doc__r�rer,�__all__rrr
rrrr2�compiler:r8rrr�rr
�<module>rFsl���
�	��
%��6��$.�H
*�	� �%�"�j�j��#���J�J�z�*����	r

?>