관리-도구
편집 파일: windows_support.cpython-311.pyc
� �܋f� � �* � d dl Z d� Zed� � � ZdS )� Nc �: � t j � � dk rd� S | S )N�Windowsc � � d S )N� )�args�kwargss �k/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/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 https://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"