o
    >i                     @   s*   d dl Z dd ZededdfddZdS )    Nc                 C   s   t  dkr
dd S | S )NWindowsc                  _   s   d S )N )argskwargsr   r   i/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/setuptools/windows_support.py<lambda>   s    zwindows_only.<locals>.<lambda>)platformsystem)funcr   r   r   windows_only   s   r   pathreturnc                 C   sT   ddl }ddl}|jjj}|jj|jjf|_|jj	|_
d}|| |}|s(| dS )z
    Set the hidden attribute on a file or directory.

    From https://stackoverflow.com/questions/19622133/

    `path` must be text.
    r   N   )ctypesZctypes.wintypesZwindllZkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDargtypesZBOOLrestypeZWinError)r   r   ZSetFileAttributesFILE_ATTRIBUTE_HIDDENretr   r   r   	hide_file
   s   	


r   )r   r   strr   r   r   r   r   <module>   s    