Your IP : 3.145.156.17


Current Path : /opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib/python3.12/site-packages/setuptools/__pycache__/_path.cpython-312.pyc

�

t��e ��l�ddlZddlZddlmZeeej
fZd�Zdededefd�Z	dedefd	�Z
y)
�N)�Unionc�p�tjj|�}tj|d��y)z1Ensure that the parent directory of `path` existsT)�exist_okN)�os�path�dirname�makedirs)rrs  ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_path.py�ensure_directoryrs"���g�g�o�o�d�#�G��K�K��$�'��p1�p2�returnc�0�t|�t|�k(S)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
rs  r
�	same_pathrs�� �B�<�8�B�<�'�'r�filenamec��tjdk(rtjj	|�n|}tjjtjj
tjj|���S)z2Normalize a file/dir name for comparison purposes.�cygwin)�sys�platformrr�abspath�normcase�realpathr)r�files  r
rr!sV��),����(@�2�7�7�?�?�8�$�h�D�
�7�7���B�G�G�,�,�R�W�W�-=�-=�d�-C�D�E�Er)rr�typingr�str�PathLike�_Pathr�boolrr�rr
�<module>r"sV��	�
��
�c�2�;�;����(�(�%�(�U�(�t�(�&F�u�F��Fr

?>