| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/setuptools/__pycache__/ |
Upload File : |
a
��e� � @ sv d dl Z d dlZd dlmZ ejdkr:eee je f Zneee jf Zdd� Zeee d�dd�Z
eed �d
d�ZdS )� N)�Union)� � c C s t j�| �}t j|dd� dS )z1Ensure that the parent directory of `path` existsT)�exist_okN)�os�path�dirname�makedirs)r r � r
�4/usr/lib/python3.9/site-packages/setuptools/_path.py�ensure_directory s r )�p1�p2�returnc C s t | �t |�kS )a� Differs from os.path.samefile because it does not require paths to exist.
Purely string based (no comparison between i-nodes).
>>> same_path("a/b", "./a/b")
True
>>> same_path("a/b", "a/./b")
True
>>> same_path("a/b", "././a/b")
True
>>> same_path("a/b", "./a/b/c/..")
True
>>> same_path("a/b", "../a/b/c")
False
>>> same_path("a", "a/b")
False
)�normpath)r
r r
r
r � same_path s r )�filenamer c C s6 t jdkrtj�| �n| }tj�tj�tj�|���S )z2Normalize a file/dir name for comparison purposes.�cygwin)�sys�platformr r �abspath�normcase�realpathr )r �filer
r
r r $ s r )r r �typingr �version_info�str�PathLikeZStrPathr �boolr r r
r
r
r �<module> s