Ë
    
_ßd   ã                   ól   — 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
y)
é    N)ÚUnionc                 óp   — t         j                  j                  | «      }t        j                  |d¬«       y)z1Ensure that the parent directory of `path` existsT)Úexist_okN)ÚosÚpathÚdirnameÚmakedirs)r   r   s     ú2/usr/lib/python3/dist-packages/setuptools/_path.pyÚensure_directoryr      s"   € ä�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   r   s     r
   Ú	same_pathr      s   € ô  �B‹<œ8 B›<Ñ'Ð'r   Úfilenamec                 ó  — t         j                  dk(  rt        j                  j	                  | «      n| }t        j                  j                  t        j                  j                  t        j                  j                  |«      «      «      S )z2Normalize a file/dir name for comparison purposes.Úcygwin)ÚsysÚplatformr   r   ÚabspathÚnormcaseÚrealpathr   )r   Úfiles     r
   r   r   !   sV   € ô ),¯©¸Ò(@Œ2�7‰7�?‰?˜8Ô$Àh€DÜ�7‰7×ÑœBŸG™G×,Ñ,¬R¯W©W×-=Ñ-=¸dÓ-CÓDÓEÐEr   )r   r   Útypingr   ÚstrÚPathLikeÚ_Pathr   Úboolr   r   © r   r
   ú<module>r"      sV   ðÛ 	Û 
Ý àˆc�2—;‘;ÐÑ€ò(ð(�%ð (˜Uð ( tó (ð&F�uð F ô Fr   