§
    tšj   ã                   ój   — d dl Z d dlZd dlmZ eee j        f         Zd„ Zdededefd„Z	dedefd	„Z
dS )
é    N)ÚUnionc                 óp   — t           j                             | ¦  «        }t          j        |d¬¦  «         dS )z1Ensure that the parent directory of `path` existsT)Úexist_okN)ÚosÚpathÚdirnameÚmakedirs)r   r   s     úM/home/lighthouse/health/venv/lib/python3.11/site-packages/setuptools/_path.pyÚensure_directoryr      s0   € åŒg�oŠo˜dÑ#Ô#€GÝ„K� $Ð'Ñ'Ô'Ð'Ð'Ð'ó    Úp1Úp2Úreturnc                 óB   — 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   r   s     r
   Ú	same_pathr      s   € õ  �B‰<Œ<�8 B™<œ<Ò'Ð'r   Úfilenamec                 ó  — t           j        dk    rt          j                             | ¦  «        n| }t          j                             t          j                             t          j                             |¦  «        ¦  «        ¦  «        S )z2Normalize a file/dir name for comparison purposes.Úcygwin)ÚsysÚplatformr   r   ÚabspathÚnormcaseÚrealpathr   )r   Úfiles     r
   r   r   !   s^   € õ ),¬¸Ò(@Ð(@�2Œ7�?Š?˜8Ñ$Ô$Ð$Àh€DÝŒ7×Ò�BœG×,Ò,­R¬W×-=Ò-=¸dÑ-CÔ-CÑDÔDÑEÔEÐEr   )r   r   Útypingr   ÚstrÚPathLikeÚ_Pathr   Úboolr   r   © r   r
   ú<module>r"      s¦   ðØ 	€	€	€	Ø 
€
€
€
Ø Ð Ð Ð Ð Ð àˆc�2”;ÐÔ€ð(ð (ð (ð(�%ð (˜Uð ( tð (ð (ð (ð (ð&F�uð F ð Fð Fð Fð Fð Fð Fr   