|
Server : LiteSpeed System : Linux premium92.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : rbnsfqys ( 805) PHP Version : 8.1.33 Disable Function : NONE Directory : /lib/python3.6/site-packages/setuptools/__pycache__/ |
3
�vh� � @ s( d dl Z d dlZdd� Zedd� �ZdS )� Nc C s t j� dkrdd� S | S )NZWindowsc _ s d S )N� )�args�kwargsr r �%/usr/lib/python3.6/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}|| |�}|sHtj� �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__�ctypesZwindllZkernel32ZSetFileAttributesWZwintypesZLPWSTRZDWORDZargtypesZBOOLZrestypeZWinError)�pathZSetFileAttributes�FILE_ATTRIBUTE_HIDDEN�retr r r � hide_file s
r )r r
r
r r r r r �<module> s