U
ë˜ReÊ ã @ s( d dl Z d dlZdd„ Zedd„ ƒZdS )é Nc C s t ¡ dkrdd„ S | S )NÚWindowsc _ s d S )N© )ÚargsÚkwargsr r ú�/builddir/build/BUILDROOT/alt-python38-setuptools-58.3.0-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/setuptools/windows_support.pyÚ ó zwindows_only..)ÚplatformÚsystem)Úfuncr r r Úwindows_only s r c C sL t dƒ 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Úkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDZargtypesZBOOLÚrestypeZWinError)ÚpathZSetFileAttributesÚFILE_ATTRIBUTE_HIDDENÚretr r r Ú hide_file s
r )r r r r r r r r Ú s