File: D:/Python311/Lib/site-packages/setuptools/__pycache__/windows_support.cpython-311.pyc
�
�nc� � �* � d dl Z d� Zed� � � ZdS )� Nc �: � t j � � dk rd� S | S )N�Windowsc � � d S )N� )�args�kwargss �<D:\Python311\Lib\site-packages\setuptools/windows_support.py�<lambda>zwindows_only.<locals>.<lambda> 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"