+
    êh}
  ã                  ó:  a € 0 t $ ^ RIHt ^ RIt^ RIt^ RIt^ RIHtHtH	t	 ^ RI
Ht ]'       d   ^ RIHt ]	]]P                  ],          3,          tR]R&   ]! R]	]]P                  ],          3,          R	7      tR
 tR R ltR R lt]P,                  R 4       tR# )é    )ÚannotationsN)ÚTYPE_CHECKINGÚTypeVarÚUnion)Úunique_everseen)Ú	TypeAliasr   ÚStrPathÚStrPathT)Úboundc                ót   € \         P                  P                  V 4      p\         P                  ! VRR7       R# )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� $×'ó    c               ó$   € V ^8„  d   QhRRRRRR/# )é   Úp1r	   Úp2ÚreturnÚbool© )Úformats   "r   Ú__annotate__r      s!   € ÷ (ñ (�'ð (˜wð (¨4ñ (r   c                ó0   € \        V 4      \        V4      8H  # )aY  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   c               ó    € V ^8„  d   QhRRRR/# )r   Úfilenamer	   r   Ústrr   )r   s   "r   r   r   *   s   € ÷ Fñ F�wð F 3ñ Fr   c                ó   € \         P                  R8X  d    \        P                  P	                  V 4      MT p\        P                  P                  \        P                  P                  \        P                  P                  V4      4      4      # )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   c              #  óz  "  € \        4       p\        P                  P                  RV4      p\        P                  P                  RR4      p \        P                  P                  \        V 4      4      p\        RWC.4      p\        P                  P                  V4      pV'       d   V\        P                  R&   Rx € W!J d#   \        P                  P                  RR4       R# V\        P                  R&   R#   Y!J d"   \        P                  P                  RR4       i T\        P                  R&   i ; i5i)at  
Add the indicated paths to the head of the PYTHONPATH environment
variable so that subprocesses will also see the packages at
these paths.

Do this in a context that restores the value on exit.

>>> getfixture('monkeypatch').setenv('PYTHONPATH', 'anything')
>>> with paths_on_pythonpath(['foo', 'bar']):
...     assert 'foo' in os.environ['PYTHONPATH']
...     assert 'anything' in os.environ['PYTHONPATH']
>>> os.environ['PYTHONPATH']
'anything'

>>> getfixture('monkeypatch').delenv('PYTHONPATH')
>>> with paths_on_pythonpath(['foo', 'bar']):
...     assert 'foo' in os.environ['PYTHONPATH']
>>> os.environ.get('PYTHONPATH')
Ú
PYTHONPATHÚ N)	Úobjectr   ÚenvironÚgetÚpathsepÚjoinr   ÚfilterÚpop)ÚpathsÚnothingÚorig_pythonpathÚcurrent_pythonpathÚprefixÚto_joinÚnew_paths   &      r   Úpaths_on_pythonpathr=   1   s×   é € ô* ‹h€GÜ—j‘j—n‘n \°7Ó;€OÜŸ™Ÿ™¨°bÓ9Ðð7Ü—‘—‘¤°Ó!7Ó8ˆÜ˜ Ð;Ó<ˆÜ—:‘:—?‘? 7Ó+ˆßØ'/ŒB�J‰J�|Ñ$ÛàÓ%Ü�J‰J�N‰N˜<¨Ö.à'6ŒB�J‰J�|Ó$øð Ó%Ü�J‰J�N‰N˜<¨Õ.à'6ŒB�J‰J�|Ò$üs   ‚AD;ÁA3C= Ã<D;Ã=;D8Ä8D;)Ú__conditional_annotations__Ú
__future__r   Ú
contextlibr   r&   Útypingr   r   r   Úmore_itertoolsr   Útyping_extensionsr   r#   ÚPathLiker	   Ú__annotations__r
   r   r    r   Úcontextmanagerr=   )r>   s   @r   Ú<module>rG      sŠ   øðß "Ð "ã Û 	Û 
ß 0Ñ 0å *çÝ+à˜3 §¡¨CÕ 0Ð0Õ1€ˆÓ 1Ù�: U¨3°·±¸CÕ0@Ð+@Õ%AÔB€ò(õ(õ&Fð ×Ññ"7ó ò"7r   