o
XaiÊ ã @ s( d dl Z d dlZdd„ Zedd„ ƒZdS )é Nc C s t ¡ dkr
dd„ S | S )NÚWindowsc _ s d S )N© )ÚargsÚkwargsr r ú“/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Ú s zwindows_only..)ÚplatformÚsystem)Úfuncr r r Úwindows_only s r c C sL t dƒ 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Úretr r r Ú hide_file s
ÿr )r r r r r r r r Ú s