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__ / archive_util.cpython-311.pyc
Size: Mime:
§

ãŒbg¤ãóƗdZddlZddlZddlZddlZddlZddlZddlmZddl	m
Z
gd¢ZGd„de
¦«Zd	„Z
e
dfd
„Ze
fd„Ze
fd„Ze
fd
„Zd„Zd„Ze
fd„ZeeefZdS)z/Utilities for extracting common archive formatséNé)Úensure_directory)ÚDistutilsError)Úunpack_archiveÚunpack_zipfileÚunpack_tarfileÚdefault_filterÚUnrecognizedFormatÚextraction_driversÚunpack_directorycó—eZdZdZdS)r
z#Couldn't recognize the archive typeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__©óú>/tmp/pip-target-vp8_xwat/lib/python/setuptools/archive_util.pyr
r
s€€€€€Ø-Ð-Ð-Ð-rr
có—|S)z@The default progress/filter callback; returns True for all filesr)ÚsrcÚdsts  rr	r	s€à€Jrcó~—|ptD]"}	||||¦«dS#t$rYŒwxYwtd|z¦«‚)a¡Unpack `filename` to `extract_dir`, or raise ``UnrecognizedFormat``

    `progress_filter` is a function taking two arguments: a source path
    internal to the archive ('/'-separated), and a filesystem path where it
    will be extracted.  The callback must return the desired extract path
    (which may be the same as the one passed in), or else ``None`` to skip
    that file or directory.  The callback can thus be used to report on the
    progress of the extraction, as well as to filter the items extracted or
    alter their extraction paths.

    `drivers`, if supplied, must be a non-empty sequence of functions with the
    same signature as this function (minus the `drivers` argument), that raise
    ``UnrecognizedFormat`` if they do not support extracting the designated
    archive type.  The `drivers` are tried in sequence until one is found that
    does not raise an error, or until all are exhausted (in which case
    ``UnrecognizedFormat`` is raised).  If you do not supply a sequence of
    drivers, the module's ``extraction_drivers`` constant will be used, which
    means that ``unpack_zipfile`` and ``unpack_tarfile`` will be tried, in that
    order.
    Nz!Not a recognized archive type: %s)rr
)ÚfilenameÚextract_dirÚprogress_filterÚdriversÚdrivers     rrr"su€ð*Ð/Õ/ðQðQˆð	ØˆF8˜[¨/Ñ:Ô:Ð:ð
ˆFˆFøõ"ð	ð	ð	ØˆHð	øøøõ
!Ð!DÀxÑ!OÑPÔPÐPs

*©*có|—tj |¦«std|z¦«‚|d|fi}tj|¦«D]ï\}}}||\}}|D]K}	||	zdztj ||	¦«f|tj ||	¦«<ŒL|D]}
tj ||
¦«}|||
z|¦«}|sŒ4t
|¦«tj ||
¦«}
tj|
|¦«tj	|
|¦«ŒŽŒðdS)zˆ "Unpack" a directory, using the same interface as for archives

    Raises ``UnrecognizedFormat`` if `filename` is not a directory
    z%s is not a directoryÚú/N)
ÚosÚpathÚisdirr
ÚwalkÚjoinrÚshutilÚcopyfileÚcopystat)rrrÚpathsÚbaseÚdirsÚfilesrrÚdÚfÚtargets            rrrBsY€õ
Œ7=Š=˜Ñ"Ô"ðEÝ Ð!8¸8Ñ!CÑDÔDÐDð	2{Ð#ð
€Eõ œW XÑ.Ô.ð
'ð
'шˆdEؘ”;‰ˆˆSØð	Oð	OˆAØ+.°©7°S©=½"¼'¿,º,ÀsÈAÑ:NÔ:NÐ+NˆE•"”'—,’,˜t QÑ'Ô'Ñ(Ð(Øð		'ð		'ˆAÝ”W—\’\ # qÑ)Ô)ˆFØ$_ S¨1¡W¨fÑ5Ô5ˆFØð
àÝ˜VÑ$Ô$Ð$Ý”—’˜T 1Ñ%Ô%ˆAÝŒO˜A˜vÑ&Ô&Ð&ÝŒO˜A˜vÑ&Ô&Ð&Ð&ð		'ð	
'ð
'rcóΗtj|¦«st|›d¦«‚tj|¦«5}t	|||¦«ddd¦«dS#1swxYwYdS)zòUnpack zip `filename` to `extract_dir`

    Raises ``UnrecognizedFormat`` if `filename` is not a zipfile (as determined
    by ``zipfile.is_zipfile()``).  See ``unpack_archive()`` for an explanation
    of the `progress_filter` argument.
    z is not a zip fileN)ÚzipfileÚ
is_zipfiler
ÚZipFileÚ_unpack_zipfile_obj)rrrÚzs    rrr]s°€õÔ˜hÑ'Ô'ðGÝ ¸8¸8¸8Ð!EÑFÔFÐFå	Œ˜Ñ	"Ô	"ð= aݘA˜{¨OÑ<Ô<Ð<ð=ð=ð=ñ=ô=ð=ð=ð=ð=ð=ð=ð=øøøð=ð=ð=ð=ð=ð=s»AÁAÁ!Acój—| ¦«D]}|j}| d¦«sd| d¦«vrŒ7t	jj|g| d¦«¢RŽ}|||¦«}|sŒp| d¦«rt|¦«nft|¦«| 	|j¦«}t|d¦«5}| |¦«ddd¦«n#1swxYwY|jdz	}|rt	j
||¦«ŒdS)z·Internal/private API used by other parts of setuptools.
    Similar to ``unpack_zipfile``, but receives an already opened :obj:`zipfile.ZipFile`
    object instead of a filename.
    r ú..ÚwbNé)ÚinfolistrÚ
startswithÚsplitr!r"r%ÚendswithrÚreadÚopenÚwriteÚ
external_attrÚchmod)	Úzipfile_objrrÚinfoÚnamer/Údatar.Úunix_attributess	         rr4r4ls€ð
×$Ò$Ñ&Ô&ð.ñ.ˆØŒ}ˆð?Š?˜3ÑÔð	 4¨4¯:ª:°c©?¬?Ð#:Ð#:Øå””˜kÐ<¨D¯JªJ°s©O¬OÐ<Ð<Ð<ˆØ   vÑ.Ô.ˆØð	Ø؏=Š=˜ÑÔð	å˜VÑ$Ô$Ð$Ð$õ
˜VÑ$Ô$Ð$Ø×#Ò# D¤MÑ2Ô2ˆDݐf˜dÑ#Ô#ð
 qØ—’˜‘
”

ð
ð
ð
ñ
ô
ð
ð
ð
ð
ð
ð
øøøð
ð
ð
ð
àÔ,°Ñ2ˆØð	.ÝŒHV˜_Ñ-Ô-Ð-ùð-.ð.sÃ#DÄD		ÄD		có—|Ä| ¦«s| ¦«rœ|j}| ¦«rBtj|j¦«}tj||¦«}tj|¦«}| |¦«}|(| ¦«°ˆ| ¦«°œ|duo'| 	¦«p| 
¦«}|r|Std¦«‚)z;Resolve any links and extract link targets as normal files.NzGot unknown file type)ÚislnkÚissymÚlinknameÚ	posixpathÚdirnamerEr%ÚnormpathÚ
_getmemberÚisfiler#ÚLookupError)Útar_objÚtar_member_objÚlinkpathr*Úis_file_or_dirs     rÚ_resolve_tar_file_or_dirrVŠs€à
Ð
$Ø×ÒÑÔð%Ø"0×"6Ò"6Ñ"8Ô"8ð%ð"Ô*ˆØ×ÒÑ!Ô!ð	4ÝÔ$ ^Ô%8Ñ9Ô9ˆDÝ ”~ d¨HÑ5Ô5ˆHÝ Ô)¨(Ñ3Ô3ˆHØ ×+Ò+¨HÑ5Ô5ˆðÐ
$Ø×ÒÑÔð%Ø"0×"6Ò"6Ñ"8Ô"8ð%ð$¨4Ð/ðØ×ÒÑÔÐ9 >×#7Ò#7Ñ#9Ô#9ðððØÐå
Ð-Ñ
.Ô
.Ð.rc#óüK—d„|_tj|¦«5|D]À}|j}| d¦«sd| d¦«vrŒ6t
jj|g| d¦«¢RŽ}	t||¦«}n#t$rYŒ~wxYw|||¦«}|sŒ‘| tj¦«r
|dd…}||fV—ŒÁ	ddd¦«dS#1swxYwYdS)z1Emit member-destination pairs from a tar archive.có—dS)Nr)Úargss rú<lambda>z _iter_open_tar.<locals>.<lambda>¢s€ $€rr r7Néÿÿÿÿ)
ÚchownÚ
contextlibÚclosingrEr;r<r!r"r%rVrQr=Úsep)rRrrÚmemberrEÚ
prelim_dstÚ	final_dsts       rÚ_iter_open_tarrcŸs}èè€ð'Ð&€G„Må	Ô	˜GÑ	$Ô	$ð$ð$Øð	$ð	$ˆFØ”;ˆDàŠ˜sÑ#Ô#ð
 t¨t¯zªz¸#©¬Ð'>Ð'>Øåœœ kÐD°D·J²J¸s±O´OÐDÐDÐDˆJð
Ý1°'¸6ÑBÔBøÝð
ð
ð
ؐð
øøøð(˜¨¨jÑ9Ô9ˆIØð
Øà×!Ò!¥"¤&Ñ)Ô)ð
+Ø% c r cœN	à˜)Ð#Ð#Ð#Ð#Ð#ð)	$ð$ð$ð$ñ$ô$ð$ð$ð$ð$ð$ð$ð$øøøð$ð$ð$ð$ð$ð$s7ŸA#C1ÂBÂC1Â
B!ÂC1 B!Â!AC1Ã1C5Ã8C5có—	tj|¦«}n*#tj$r}t|›d¦«|‚d}~wwxYwt	|||¦«D]1\}}	| ||¦«Œ#tj$rYŒ.wxYwdS)zûUnpack tar/tar.gz/tar.bz2 `filename` to `extract_dir`

    Raises ``UnrecognizedFormat`` if `filename` is not a tarfile (as determined
    by ``tarfile.open()``).  See ``unpack_archive()`` for an explanation
    of the `progress_filter` argument.
    z- is not a compressed or uncompressed tar fileNT)Útarfiler?ÚTarErrorr
rcÚ_extract_memberÚExtractError)rrrÚtarobjÚer`rbs       rrr¼sʀðÝ”˜hÑ'Ô'ˆˆøÝÔðððÝ ØAIÀÀÐKñ
ô
àð	øøøøðøøøõ
,ØØØñôð
ð
ш	ð
	à×"Ò" 6¨9Ñ5Ô5Ð5Ð5øÝÔ#ð	ð	ð	àˆDð	øøøðˆ4s"‚—>¦9¹>ÁA/Á/BÂB)rr]r!rLr&rer1Ú_pathrÚdistutils.errorsrÚ__all__r
r	rrrr4rVrcrrrrrú<module>rnssðØ5Ð5àÐÐÐØ	€	€	€	ØÐÐÐØ
€
€
€
Ø€€€Ø€€€à#Ð#Ð#Ð#Ð#Ð#à+Ð+Ð+Ð+Ð+Ð+ððð€ð.ð.ð.ð.ð.˜ñ.ô.ð.ðððð
;IÐRVðQðQðQðQð@=Kð'ð'ð'ð'ð6;Ið=ð=ð=ð=ðCQð.ð.ð.ð.ð</ð/ð/ð*$ð$ð$ð:;Iððððð:& ~°~ÐEÐÐÐr