/ lib / setuptools / _path.pyc
_path.pyc
 1  o

 2  ���c��@sDddlZddlmZeeejfZdd�Zdededefdd	�ZdS)
 3  �N)�UnioncCstj�|�}tj|dd�dS)z1Ensure that the parent directory of `path` existsT)�exist_okN)�os�path�dirname�makedirs)rr�r��C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2800.0_x64__qbz5n2kfra8p0\lib\site-packages\setuptools\_path.py�ensure_directorysr
 4  �p1�p2�returncCstj�|�tj�|�kS)a�Differs from os.path.samefile because it does not require paths to exist.
 5      Purely string based (no comparison between i-nodes).
 6      >>> same_path("a/b", "./a/b")
 7      True
 8      >>> same_path("a/b", "a/./b")
 9      True
10      >>> same_path("a/b", "././a/b")
11      True
12      >>> same_path("a/b", "./a/b/c/..")
13      True
14      >>> same_path("a/b", "../a/b/c")
15      False
16      >>> same_path("a", "a/b")
17      False
18      )rr�normpath)rrrrr	�	same_path
sr)	r�typingr�str�PathLike�_Pathr
19  �boolrrrrr	�<module>s
20