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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Ë
@ñúh´"ãó.—dZddlmZddlZddlmZmZ    ddlZddl    m
Z
ddl m Z ddl mZdd    lmZ    dd
lmZ    dd lmZd „Zd „Z                    d                                                             d!d„Z        d"                                    d#d„ZedgdfedgdfedgdfedgdfedgdfegdfdœZd„Ze                        d$                                                                    d%d„«Ze                    d&                                                                    d'd„«Z                        d$                                                                    d(d„Zy#e$rdZYŒßwxYw#e$rdZYŒÍwxYw#e$rdZYŒÓwxYw))zodistutils.archive_util
 
Utility functions for creating archive files (tarballs, zip files,
that sort of thing).é)Ú annotationsN)ÚLiteralÚoverloadé)Úlog)Úmkpath)ÚDistutilsExecError)Úspawn)Úgetpwnam)Úgetgrnamcó^—t|€y    t|«}||dSy#t$rd}YŒwxYw)z"Returns a gid, given a group name.Né)r ÚKeyError©ÚnameÚresults  úUH:\Change_password\venv_build\Lib\site-packages\setuptools/_distutils/archive_util.pyÚ_get_gidr!óH€äИ4˜<Øðܘ$“ˆðÐØa‰yÐØ øô     òØŠðúó ‹ ž ,«,có^—t|€y    t|«}||dSy#t$rd}YŒwxYw)z"Returns an uid, given a user name.Nr)r rrs  rÚ_get_uidr.rrc󇇇 ‡—dddddœ}dddd    œ}|||j«vr td «‚|d z}    |    |j|d«z }    ttj
j |    «|¬ «dd
l}
tjd«t‰«Št‰«Š ˆ ˆˆˆfd„} |s>|
j|    d||›«}     | j|| ¬«| j«|    S|    S#| j«wxYw)aþCreate a (possibly compressed) tar file from all the files under
    'base_dir'.
 
    'compress' must be "gzip" (the default), "bzip2", "xz", or None.
 
    'owner' and 'group' can be used to define an owner and a group for the
    archive that is being built. If not provided, the current owner and group
    will be used.
 
    The output tar file will be named 'base_dir' +  ".tar", possibly plus
    the appropriate compression extension (".gz", ".bz2", ".xz" or ".Z").
 
    Returns the output filename.
    ÚgzÚbz2ÚxzÚ)ÚgzipÚbzip2rNz.gzz.bz2z.xz)rrrNz=bad value for 'compress': must be None, 'gzip', 'bzip2', 'xz'z.tar©Údry_runrzCreating tar archivecóH•—‰‰|_‰|_‰‰|_‰|_|S©N)ÚgidÚgnameÚuidÚuname)Útarinfor$ÚgroupÚownerr&s €€€€rÚ _set_uid_gidz"make_tarball.<locals>._set_uid_gidms.ø€Ø ˆ?؈GŒKØ!ˆGŒMØ ˆ?؈GŒKØ!ˆGŒM؈ózw|)Úfilter)ÚkeysÚ
ValueErrorÚgetrÚosÚpathÚdirnameÚtarfilerÚinforrÚopenÚaddÚclose)Ú    base_nameÚbase_dirÚcompressÚverboser!r*r)Útar_compressionÚ compress_extÚ archive_namer4r+Útarr$r&s     ``      @@rÚ make_tarballrA;s    û€ð0ØØØñ    €Oð "¨F¸%Ñ@€LðР° ×0AÑ0AÓ0CÑ CÜØ Kó
ð    
ð˜vÑ%€LؐL×$Ñ$ X¨rÓ2Ñ2€Lä
Œ27‰7?‰?˜<Ó (°'Õ:óä‡HHÐ #Ô$ä
5‹/€CÜ
5‹/€C÷ñ ؏l‰l˜<¨2¨o¸hÑ.GÐ-HÐ)IÓJˆð    Ø G‰GH \ˆGÔ 2à I‰IŒKà Ј<Ðøð I‰IKús ÃC.Ã.Dc
ó$—|dz}ttjj|«|¬«t€|rd}nd}    t d|||g|¬«|Stjd    ||«|sÆ    t    j|d
tj¬ «}|5|tjk7retjjtjj|d ««}|j!||«tjd |«tj"|«D]\}}    }
|    D]h} tjjtjj|| d ««}|j!||«tjd |«Œj|
D]‡} tjjtjj|| ««}tjj%|«sŒ`|j!||«tjd |«Œ‰Œ    ddd«|S|S#t $rt d|›d«‚wxYw#t$r*t    j|d
tj¬ «}YŒïwxYw#1swY|SxYw)avCreate a zip file from all the files under 'base_dir'.
 
    The output zip file will be named 'base_name' + ".zip".  Uses either the
    "zipfile" Python module (if available) or the InfoZIP "zip" utility
    (if installed and found on the default search path).  If neither tool is
    available, raises DistutilsExecError.  Returns the name of the output zip
    file.
    z.zipr Nz-rz-rqÚzipzunable to create zip file 'zN': could neither import the 'zipfile' module nor find a standalone zip utilityz#creating '%s' and adding '%s' to itÚw)Ú compressionrz adding '%s')rr1r2r3Úzipfiler
r    rr5ÚZipFileÚ ZIP_DEFLATEDÚ RuntimeErrorÚ
ZIP_STOREDÚcurdirÚnormpathÚjoinÚwriteÚwalkÚisfile) r9r:r<r!Ú zip_filenameÚ
zipoptionsrCr2ÚdirpathÚdirnamesÚ    filenamesrs             rÚ make_zipfilerV€s1€ð˜vÑ%€LÜ
Œ27‰7?‰?˜<Ó (°'Õ:ô€Ù ؉JàˆJð        Ü 5˜* l°HÐ=ÀwÕ OðJ Ðô5     ‰Ð6¸ ÀhÔOâð YÜ—o‘oØ  #´7×3GÑ3Gôð ñ :ØœrŸy™yÒ(ÜŸ7™7×+Ñ+¬B¯G©G¯L©L¸À2Ó,FÓGDØ—I‘I˜d DÔ)Ü—H‘H˜]¨DÔ1Ü46·G±G¸HÓ4Eó    :Ñ0G˜X yØ (ò6˜Ü!Ÿw™w×/Ñ/´·±· ± ¸WÀdÈBÓ0OÓP˜ØŸ    ™     $¨Ô-ÜŸ™ °Õ5ð6ð!*ò:˜Ü!Ÿw™w×/Ñ/´·±· ± ¸WÀdÓ0KÓL˜ÜŸ7™7Ÿ>™>¨$Õ/ØŸI™I d¨DÔ1ÜŸH™H ]°DÕ9ò    :ñ     :÷  :ð  Ј<ÐøôI"ò    ô%Ø-¨l¨^ð<0ð0óð ð    ûô" ò YÜ—o‘o l°CÄW×EWÑEWÔX“ð Yú÷ :ð  Ðús0¾H3Á,&IÂE$JÇ9-JÈ3I É/JÊJÊJ)r;rzgzip'ed tar-file)r;rzbzip2'ed tar-file)r;rzxz'ed tar-file)r;r;zcompressed tar file)r;Nzuncompressed tar filezZIP file)ÚgztarÚbztarÚxztarÚztarr@rCcó*—|D]}|tvsŒ |cSy)zqReturns the first format from the 'format' list that is unknown.
 
    If all formats are known, returns None
    N)ÚARCHIVE_FORMATS)ÚformatsÚformats  rÚcheck_archive_formatsr_Ìs%€ð
òˆØ œÒ (ØŠMðð r,có—yr#©©r9r^Úroot_dirr:r<r!r*r)s        rÚ make_archiverd×ó€ð r,có—yr#rarbs        rrdrdârer,cóh—tj«}|Ltjd|«tjj |«}|stj |«|€tj}d|i}        t|}
|
d} |    j|
d«|dk7r
||    d<||    d    <    | ||fi|    ¤Ž} |+tjd
|«tj |«| S#t$rtd|›d«‚wxYw#|,tjd
|«tj |«wwxYw) aüCreate an archive file (eg. zip or tar).
 
    'base_name' is the name of the file to create, minus any format-specific
    extension; 'format' is the archive format: one of "zip", "tar", "gztar",
    "bztar", "xztar", or "ztar".
 
    'root_dir' is a directory that will be the root directory of the
    archive; ie. we typically chdir into 'root_dir' before creating the
    archive.  'base_dir' is the directory where we start archiving from;
    ie. 'base_dir' will be the common prefix of all files and
    directories in the archive.  'root_dir' and 'base_dir' both default
    to the current directory.  Returns the name of the archive file.
 
    'owner' and 'group' are used when creating a tar archive. By default,
    uses the current owner and group.
    zchanging into '%s'r!zunknown archive format 'ú'rrrCr*r)zchanging back to '%s') r1ÚgetcwdrÚdebugr2ÚabspathÚchdirrKr\rr/Úupdate) r9r^rcr:r<r!r*r)Úsave_cwdÚkwargsÚ format_infoÚfuncÚfilenames              rrdrdís,€ô4y‰y‹{€HØÐÜ     ‰    Ð&¨Ô1Ü—G‘G—O‘O IÓ.ˆ    ÙÜ H‰HXÔ àÐÜ—9‘9ˆà˜Ð !€Fð?Ü% fÑ-ˆ ð q‰>€DØ
‡MM+˜a‘.Ô!à ‚؈ˆw‰Øˆˆw‰ðÙ˜     8Ñ6¨vÑ6ˆà Ð Ü I‰IÐ-¨xÔ 8Ü H‰HXÔ à €Oøô# ò?ÜÐ3°F°8¸1Ð=Ó>Ð>ð?ûð Ð Ü I‰IÐ-¨xÔ 8Ü H‰HXÕ ð  úsÁ:    C%Â,
DÃ%C>Ä0D1)rFFNN)r9Ústrr:ústr | os.PathLike[str]r;z%Literal['gzip', 'bzip2', 'xz'] | Noner<Úboolr!rur*ú
str | Noner)rvÚreturnrs)FF)
r9rsr:rtr<rur!rurwrs)NNFFNN)r9rsr^rsrcú:str | os.PathLike[str] | bytes | os.PathLike[bytes] | Noner:rvr<rur!rur*rvr)rvrwrs)NFFNN)r9rtr^rsrcz3str | os.PathLike[str] | bytes | os.PathLike[bytes]r:rvr<rur!rur*rvr)rvrwrs)r9rtr^rsrcrxr:rvr<rur!rur*rvr)rvrwrs)Ú__doc__Ú
__future__rr1ÚtypingrrrFÚ ImportErrorÚ_logrÚdir_utilrÚerrorsr    r
Úpwdr Úgrpr rrrArVr\r_rdrar,rú<module>r‚sðñõ
#ã    ß$ðÛõ
ÝÝ&ÝðÝðÝò
 
ò
ð 7=ØØØØðBØðBà$ðBð4ðBðð    Bð
ð Bð ð Bð ðBð    óBðPØð    ?Øð?à$ð?ðð?ðð    ?ð
    ó ?ðFÐ1Ð2Ð4FÐ GØÐ2Ð3Ð5HÐ IØÐ/Ð0Ð2BÐ CØ Ð4Ð5Ð7LÐ MØ Ð-Ð.Ð0GÐ HØ ˜"˜jÐ )ñ €òð
ðLPØØØØØð    Øð    à ð    ðIð    ðð        ð
ð     ð ð     ð ð    ð ð    ð    ò    ó
ð    ð
ð
 ØØØØð    Ø%ð    à ð    ðBð    ðð        ð
ð     ð ð     ð ð    ð ð    ð    ò    ó
ð    ðLPØØØØØð9Ø%ð9à ð9ðIð9ðð    9ð
ð 9ð ð 9ð ð9ð ð9ð    ô9øðAòØ‚GðûðòØ‚Hðûð
òØ‚Hðús3–C0³C=ºD
Ã0C:Ã9C:Ã=DÄDÄ
DÄD