HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/setuptools/__pycache__/windows_support.cpython-310.pyc
o

��h��@s*ddlZdd�Zededdfdd��ZdS)�NcCst��dkr
dd�S|S)N�Windowsc_sdS)N�)�args�kwargsrr�E/usr/local/lib/python3.10/dist-packages/setuptools/windows_support.py�<lambda>szwindows_only.<locals>.<lambda>)�platform�system)�funcrrr�windows_onlysr�path�returncCsTddl}ddl}|jjj}|jj|jjf|_|jj	|_
d}|||�}|s(|���dS)z�
    Set the hidden attribute on a file or directory.

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

    `path` must be text.
    rN�)�ctypes�ctypes.wintypes�windll�kernel32�SetFileAttributesW�wintypes�LPWSTR�DWORD�argtypes�BOOL�restype�WinError)rr�SetFileAttributes�FILE_ATTRIBUTE_HIDDEN�retrrr�	hide_file
s	


�r)rr�strrrrrr�<module>s