관리-도구
편집 파일: windows_support.cpython-310.pyc
o ~�Re� � @ s( d dl Z d dlZdd� Zedd� �ZdS )� Nc C s t �� dkr dd� S | S )N�Windowsc _ s d S )N� )�args�kwargsr r ��/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-2.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/windows_support.py�<lambda> s zwindows_only.<locals>.<lambda>)�platform�system)�funcr r r �windows_only s r c C sL t d� tjjj}tjjtjjf|_tjj |_ d}|| |�}|s$t�� �dS )z� Set the hidden attribute on a file or directory. From http://stackoverflow.com/questions/19622133/ `path` must be text. zctypes.wintypes� N)� __import__�ctypes�windllZkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORD�argtypesZBOOL�restypeZWinError)�pathZSetFileAttributes�FILE_ATTRIBUTE_HIDDEN�retr r r � hide_file s �r )r r r r r r r r �<module> s