Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
odigos / etc / odigos-vmagent / instrumentations / python / setuptools / __pycache__ / _path.cpython-311.pyc
Size: Mime:
§

ãŒbg…
ãóì—UddlmZddlZddlZddlZddlmZmZddlm	Z	er!ddl
mZeeej
efZded<neeej
fZded<d„Zdd
„Zdd„Zejd„¦«ZdS)é)ÚannotationsN)Ú
TYPE_CHECKINGÚUnion)Úunique_everseen)Ú	TypeAliasrÚStrPathcóp—tj |¦«}tj|d¬¦«dS)z1Ensure that the parent directory of `path` existsT)Úexist_okN)ÚosÚpathÚdirnameÚmakedirs)rr
s  ú7/tmp/pip-target-vp8_xwat/lib/python/setuptools/_path.pyÚensure_directoryrs0€åŒgoŠo˜dÑ#Ô#€GÝ„K $Ð'Ñ'Ô'Ð'Ð'Ð'óÚp1Úp2ÚreturnÚboolcóB—t|¦«t|¦«kS)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)rrs  rÚ	same_pathrs€õ B‰<Œ<8 B™<œ<Ò'Ð'rÚfilenameÚstrcó—tjdkrtj |¦«n|}tj tj tj |¦«¦«¦«S)z2Normalize a file/dir name for comparison purposes.Úcygwin)ÚsysÚplatformrrÚabspathÚnormcaseÚrealpathr)rÚfiles  rrr,s^€õ),¬¸Ò(@Ð(@2Œ7?Š?˜8Ñ$Ô$Ð$Àh€DÝ
Œ7×ҝBœG×,Ò,­R¬W×-=Ò-=¸dÑ-CÔ-CÑDÔDÑEÔEÐErc#óhK—t¦«}tj d|¦«}tj dd¦«}	tj t
|¦«¦«}td||g¦«}tj |¦«}|r|tjd<dV—||ur"tj dd¦«dS|tjd<dS#||ur!tj dd¦«n|tjd<wxYw)a°
    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_pythonpathr43sèè€õ*‰hŒh€GÝ”j—n’n \°7Ñ;Ô;€OÝœŸš¨°bÑ9Ô9Ðð7Ý”—’¥°Ñ!7Ô!7Ñ8Ô8ˆÝ˜ Ð(:Ð;Ñ<Ô<ˆÝ”:—?’? 7Ñ+Ô+ˆØð	0Ø'/BŒJ|Ñ$Ø
ˆˆˆà˜gÐ%Ð%ÝŒJNŠN˜<¨Ñ.Ô.Ð.Ð.Ð.à'6BŒJ|Ñ$Ð$Ð$øð˜gÐ%Ð%ÝŒJNŠN˜<¨Ñ.Ô.Ð.Ð.à'6BŒJ|Ñ$Ð6Ð6Ð6Ð6s
ÁA2C;Ã;6D1)rrrrrr)rrrr)Ú
__future__rÚ
contextlibrrÚtypingrrÚmore_itertoolsrÚtyping_extensionsrrÚPathLikerÚ__annotations__rrrÚcontextmanagerr4©rrú<module>r>s$ðØ"Ð"Ð"Ð"Ð"Ð"Ð"àÐÐÐØ	€	€	€	Ø
€
€
€
Ø'Ð'Ð'Ð'Ð'Ð'Ð'Ð'à*Ð*Ð*Ð*Ð*Ð*àð1Ø+Ð+Ð+Ð+Ð+Ð+à˜s B¤K°Ô$4Ð4Ô5€GÐ5Ð5Ð5Ñ5Ð5ð˜s B¤KÐ/Ô0€GÐ0Ð0Ð0Ñ0ð(ð(ð(ð(ð(ð(ð(ð&FðFðFðFðÔð"7ð"7ñÔð"7ð"7ð"7r