관리-도구
편집 파일: windows_support.cpython-311.pyc
� ,�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�<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"