관리-도구
편집 파일: windows_support.cpython-35.pyc
�Re� � @ s: d d l Z d d l Z d d � Z e d d � � Z d S)� Nc C s t j � d k r d d � S| S)N�Windowsc _ s d S)N� )�args�kwargsr r ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/windows_support.py�<lambda> s zwindows_only.<locals>.<lambda>)�platform�system)�funcr r r �windows_only s r c C sn t d � t j j j } t j j t j j f | _ t j j | _ d } | | | � } | sj t j � � d S)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�windll�kernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORD�argtypesZBOOL�restypeZWinError)�pathZSetFileAttributes�FILE_ATTRIBUTE_HIDDEN�retr r r � hide_file s r )r r r r r r r r �<module> s