|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/setuptools/__pycache__/ |
Upload File : |
o
�_�a� � @ 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 �</usr/lib/python3/dist-packages/setuptools/windows_support.py�<lambda> s zwindows_only.<locals>.<lambda>)�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�windll�kernel32�SetFileAttributesW�wintypes�LPWSTR�DWORD�argtypes�BOOL�restype�WinError)�path�SetFileAttributes�FILE_ATTRIBUTE_HIDDEN�retr r r � hide_file s
�r )r r r r r r r r �<module> s