B
adݔO @ s( d dl Z d dlZdd Zedd ZdS ) Nc C s t dkrdd S | S )NWindowsc _ s d S )N )argskwargsr r /builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el9.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/windows_support.py zwindows_only..)platformsystem)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__ctypeswindllkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDargtypesZBOOLrestypeZWinError)pathZSetFileAttributesFILE_ATTRIBUTE_HIDDENretr r r hide_file s
r )r r r r r r r r s