Viewing File: /opt/alt/python38/lib/python3.8/site-packages/setuptools/__pycache__/windows_support.cpython-38.pyc

U

+’aÊã@s(ddlZddlZdd„Zedd„ƒZdS)éNcCst ¡dkrdd„S|S)NÚWindowsc_sdS)N©)ÚargsÚkwargsrrúB/tmp/pip-install-1bd_1mtk/setuptools/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