3 K”ReÊã@s(ddlZddlZdd„Zedd„ƒZdS)éNcCstjƒdkrdd„S|S)NÚWindowsc_sdS)N©)ÚargsÚkwargsrrú�/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/windows_support.pyÚszwindows_only..)Ú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__ÚctypesÚwindllÚkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDÚargtypesZBOOLÚrestypeZWinError)ÚpathZSetFileAttributesÚFILE_ATTRIBUTE_HIDDENÚretrrrÚ hide_file s    r)rrr rrrrrÚs