�
,�Re� � �* � d dl Z d� Zed� � � ZdS )� Nc �: � t j � � dk rd� S | S )N�Windowsc � � d S )N� )�args�kwargss ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/windows_support.py�zwindows_only.. s � �t� � )�platform�system)�funcs r �windows_onlyr s# � �����I�%�%�+�+�+��Kr c �� � ddl }t d� � |j j j }|j j |j j f|_ |j j |_
d} || |� � }|s|� � � �dS )z�
Set the hidden attribute on a file or directory.
From http://stackoverflow.com/questions/19622133/
`path` must be text.
r Nzctypes.wintypes� )�ctypes�
__import__�windll�kernel32�SetFileAttributesW�wintypes�LPWSTR�DWORD�argtypes�BOOL�restype�WinError)�pathr �SetFileAttributes�FILE_ATTRIBUTE_HIDDEN�rets r � hide_filer"
s� � � �M�M�M�� �!�!�!��
�.�A��!'��!7���9N�!N��� &�� 4��� ��
�
�D�"7�
8�
8�C�� ��o�o���� � r )r r r" r r r �r# sB �� ����� � � � � � �� � � r