Viewing File: /usr/lib/python3.6/site-packages/setuptools/__pycache__/windows_support.cpython-36.opt-1.pyc

3

XoöhÊã@s(ddlZddlZdd„Zedd„ƒZdS)éNcCstjƒdkrdd„S|S)NZWindowsc_sdS)N©)ÚargsÚkwargsrrú%/usr/lib/python3.6/windows_support.pyÚ<lambda>szwindows_only.<locals>.<lambda>)ÚplatformÚsystem)ÚfuncrrrÚwindows_onlysr
cCsLtdƒtjjj}tjjtjjf|_tjj	|_
d}|||ƒ}|sHtjƒ‚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__ÚctypesZwindllZkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDZargtypesZBOOLZrestypeZWinError)ÚpathZSetFileAttributesÚFILE_ATTRIBUTE_HIDDENZretrrrÚ	hide_files	


r)rr
r
rrrrrÚ<module>s
Back to Directory File Manager