Re@s:ddlZddlZddZeddZdS)NcCs tjdkrddS|S)NWindowsc_sdS)N)argskwargsrr/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/windows_support.pyszwindows_only..)platformsystem)funcrrr windows_onlys r cCsntdtjjj}tjjtjjf|_tjj |_ d}|||}|sjtj dS)z Set the hidden attribute on a file or directory. From http://stackoverflow.com/questions/19622133/ `path` must be text. zctypes.wintypesN) __import__ctypeswindllkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDargtypesZBOOLrestypeZWinError)pathZSetFileAttributesFILE_ATTRIBUTE_HIDDENretrrr hide_file s r)rrr rrrrrs