o XaiÊã@s(ddlZddlZdd„Zedd„ƒZdS)éNcCst ¡dkr dd„S|S)NÚWindowsc_sdS)N©)ÚargsÚkwargsrrú“/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-4.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/windows_support.pyÚszwindows_only..)ÚplatformÚsystem)ÚfuncrrrÚ windows_onlys r cCsLtdƒtjjj}tjjtjjf|_tjj |_ d}|||ƒ}|s$t  ¡‚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ÚwindllZkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDÚargtypesZBOOLÚrestypeZWinError)ÚpathZSetFileAttributesÚFILE_ATTRIBUTE_HIDDENÚretrrrÚ hide_file s   ÿr)rrr rrrrrÚs