관리-도구
편집 파일: windows_support.cpython-311.pyc
� N�Dg� � �* � d dl Z d� Zed� � � ZdS )� Nc �: � t j � � dk rd� S | S )N�Windowsc � � d S )N� )�args�kwargss �z/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/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"