hyb
2026-01-30 7657e1b2fa251a2ea372710ad75cb395a3c0e374
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Ë
@ñúh¼ãó̗dZddlZddlZddlZddlZddlZddlZddlmZddl    m
Z
gd¢Z Gd„de
«Z d    „Z e df    dd „Ze fdd „Ze fdd „Ze fd„Zd„Zd„Ze fd
efd„ZeeefZy)z/Utilities for extracting common archive formatséNé)Úensure_directory)ÚDistutilsError)Úunpack_archiveÚunpack_zipfileÚunpack_tarfileÚdefault_filterÚUnrecognizedFormatÚextraction_driversÚunpack_directorycó—eZdZdZy)r
z#Couldn't recognize the archive typeN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__©óúJH:\Change_password\venv_build\Lib\site-packages\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€à €JrÚreturncór—|xstD]}    ||||«ytd|›«‚#t$rYŒ*wxYw)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.
    NzNot a recognized archive type: )r r
)ÚfilenameÚ extract_dirÚprogress_filterÚdriversÚdrivers     rrr"sZ€ð.Ò/Ô/òOˆð    Ù 8˜[¨/Ô :ñ ð Oô!Ð#BÀ8À*Ð!MÓNÐNøô "ò    Ù ð    ús 
*ª    6µ6cóp—tjj|«st|›d«‚|d|fi}tj|«D]ë\}}}||\}}|D]K}    ||    zdztjj ||    «f|tjj ||    «<ŒM|D]ˆ}
tjj ||
«} |||
z| «} | sŒ2t | «tjj ||
«}
tj|
| «tj|
| «ŒŠŒíy)zˆ "Unpack" a directory, using the same interface as for archives
 
    Raises ``UnrecognizedFormat`` if `filename` is not a directory
    z is not a directoryÚú/N)
ÚosÚpathÚisdirr
ÚwalkÚjoinrÚshutilÚcopyfileÚcopystat) rrrÚpathsÚbaseÚdirsÚfilesrrÚdÚfÚtargets             rr r Ds€ô
7‰7=‰=˜Ô "Ü  H :Ð-@Ð!AÓBÐBð    2{Ð#ð €Eô ŸW™W XÓ.ò 'шˆdEؘ‘;‰ˆˆSØò    OˆAØ+.°©7°S©=¼"¿'¹'¿,¹,ÀsÈAÓ:NÐ+NˆE”"—'‘'—,‘,˜t QÓ'Ò (ð    Oàò        'ˆAÜ—W‘W—\‘\ # qÓ)ˆFÙ$ S¨1¡W¨fÓ5ˆFÙàÜ ˜VÔ $Ü—‘— ‘ ˜T 1Ó%ˆAÜ O‰O˜A˜vÔ &Ü O‰O˜A˜vÕ &ñ        'ñ     'rcó¸—tj|«st|›d«‚tj|«5}t    |||«ddd«y#1swYyxYw)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_sT€ô × Ñ ˜hÔ 'Ü  H :Ð-?Ð!@ÓAÐAä    ‰˜Ó    "ð= aܘA˜{¨OÔ<÷=÷=ñ=ús ¹AÁAcóD—|j«D]}|j}|jd«sd|jd«vrŒ5t    j
j |g|jd«¢­Ž}|||«}|sŒp|jd«r t|«nLt|«|j|j«}t|d«5}|j|«ddd«|jdz    }|sŒët    j||«Œy#1swYŒ5xYw)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Únamer0Údatar/Úunix_attributess             rr5r5nsõ€ð
×$Ñ$Ó&ó.ˆØ}‰}ˆð ?‰?˜3Ô  4¨4¯:©:°c«?Ñ#:Ø ä—‘—‘˜kÐ<¨D¯J©J°s«OÒ<ˆÙ   vÓ.ˆÙØ Ø =‰=˜Ô ä ˜VÕ $ô ˜VÔ $Ø×#Ñ# D§M¡MÓ2ˆDܐf˜dÓ#ð  qØ—‘˜” ÷ à×,Ñ,°Ñ2ˆÚ Ü H‰HV˜_Ö -ñ-.÷$ ð ús ÃDÄD    cóê—|»|j«s|j«r›|j}|j«rJtj|j
«}tj ||«}tj|«}|j|«}|"|j«rŒŠ|j«rŒ›|duxr"|j«xs|j«}|r|Std«‚)z;Resolve any links and extract link targets as normal files.NzGot unknown file type) ÚislnkÚissymÚlinknameÚ    posixpathÚdirnamerFr&ÚnormpathÚ
_getmemberÚisfiler$Ú LookupError)Útar_objÚtar_member_objÚlinkpathr+Úis_file_or_dirs     rÚ_resolve_tar_file_or_dirrWŒsà€à
$Ø×ÑÔ .×"6Ñ"6Ô"8à!×*Ñ*ˆØ × Ñ Ô !Ü×$Ñ$ ^×%8Ñ%8Ó9ˆDÜ —~‘~ d¨HÓ5ˆHÜ ×)Ñ)¨(Ó3ˆHØ ×+Ñ+¨HÓ5ˆð Ð
$Ø×ÑÕ .×"6Ñ"6Õ"8ð$¨4Ð/òØ×ÑÓÒ9 >×#7Ñ#7Ó#9ðñØÐä
Ð-Ó
.Ð.rc#óäK—d„|_tj|«5|D]¥}|j}|j    d«sd|j d«vrŒ4t jj|g|j d«¢­Ž}    t||«}|||«}|sŒ||jt j«r|dd}||f–—Œ§    ddd«y#t$rYŒ½wxYw#1swYyxYw­w)z1Emit member-destination pairs from a tar archive.có—y)Nr)Úargss rú<lambda>z _iter_open_tar.<locals>.<lambda>¤srr!r8Néÿÿÿÿ) ÚchownÚ
contextlibÚclosingrFr<r=r"r#r&rWrRr>Úsep)rSrrÚmemberrFÚ
prelim_dstÚ    final_dsts       rÚ_iter_open_tarrd¡sìèø€ñ'€G„Mä    ×    Ñ    ˜GÓ    $ñ$Øò    $ˆFØ—;‘;ˆDà‰˜sÔ# t¨t¯z©z¸#«Ñ'>ØäŸ™Ÿ™ kÐD°D·J±J¸s³OÒDˆJð Ü1°'¸6ÓBñ(¨¨jÓ9ˆIÙØà×!Ñ!¤"§&¡&Ô)Ø% c r˜N    à˜)Ð#Ó #ñ)    $÷$ð$øôò Ùð ú÷$ð$üsA‚C0 A&C$ CÂ8C$à     C0à   C!ÃC$àC!Ã!C$Ã$C-Ã)C0có—    tj|«}t    |||«D]\}}    |j ||«Œy#tj$r}t|›d«|‚d}~wwxYw#tj $rYŒ[wxYw)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
rdÚ_extract_memberÚ ExtractError)rrrÚtarobjÚerarcs       rrr¾sŸ€ðÜ—‘˜hÓ'ˆô ,ØØØóò
ш    ð
    à × "Ñ " 6¨9Õ 5ð
ð øô# × Ñ òܠ؈jÐEÐ Fó
àð    ûðûô×#Ñ#ò    á ð    ús(‚A«A*ÁA'ÁA"Á"A'Á*BÁ?B)rN)rr^r"rMr'rfr2Ú_pathrÚdistutils.errorsrÚ__all__r
r    rr rr5rWrdÚboolrr rrrú<module>rpsœðÙ5ãÛ    ÛÛ ÛÛå#å+ò €ô.˜ô.òð ,:À4ðOà    óOðD=Kô'ð6;Iô =ðCQó.ò</ò*$ð:;IñÈTóð:& ~°~ÐEÑr