Viewing File: /opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/windows_support.cpython-37.pyc

B

��Re��@s(ddlZddlZdd�Zedd��ZdS)�NcCst��dkrdd�S|S)N�Windowsc_sdS)N�)�args�kwargsrr��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/windows_support.py�<lambda>�zwindows_only.<locals>.<lambda>)�platform�system)�funcrrr�windows_onlysrcCsLtd�tjjj}tjjtjjf|_tjj	|_
d}|||�}|sHt���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)r	rrrrrrr�<module>s
Back to Directory File Manager