Viewing File: /opt/alt/python35/lib/python3.5/site-packages/setuptools/__pycache__/windows_support.cpython-35.pyc



�Re��@s:ddlZddlZdd�Zedd��ZdS)�NcCs tj�dkrdd�S|S)N�Windowsc_sdS)N�)�args�kwargsrr��/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>szwindows_only.<locals>.<lambda>)�platform�system)�funcrrr�windows_onlys
rcCsntd�tjjj}tjjtjjf|_tjj	|_
d}|||�}|sjtj��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�windll�kernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORD�argtypesZBOOL�restypeZWinError)�pathZSetFileAttributes�FILE_ATTRIBUTE_HIDDEN�retrrr�	hide_files	
r)rrrrrrrr�<module>s
Back to Directory File Manager