/usr/lib64/python3.6/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-36.opt-1.pyc65270644editdlrm
archive_util.cpython-36.opt-2.pyc44860644editdlrm
archive_util.cpython-36.pyc65270644editdlrm
bcppcompiler.cpython-36.opt-1.pyc64810644editdlrm
bcppcompiler.cpython-36.opt-2.pyc61930644editdlrm
bcppcompiler.cpython-36.pyc64810644editdlrm
ccompiler.cpython-36.opt-1.pyc332200644editdlrm
ccompiler.cpython-36.opt-2.pyc168700644editdlrm
ccompiler.cpython-36.pyc333470644editdlrm
cmd.cpython-36.opt-1.pyc149880644editdlrm
cmd.cpython-36.opt-2.pyc89910644editdlrm
cmd.cpython-36.pyc149880644editdlrm
config.cpython-36.opt-1.pyc34870644editdlrm
config.cpython-36.opt-2.pyc30950644editdlrm
config.cpython-36.pyc34870644editdlrm
core.cpython-36.opt-1.pyc68030644editdlrm
core.cpython-36.opt-2.pyc34160644editdlrm
core.cpython-36.pyc68030644editdlrm
cygwinccompiler.cpython-36.opt-1.pyc85080644editdlrm
cygwinccompiler.cpython-36.opt-2.pyc68780644editdlrm
cygwinccompiler.cpython-36.pyc85080644editdlrm
debug.cpython-36.opt-1.pyc1880644editdlrm
debug.cpython-36.opt-2.pyc1880644editdlrm
debug.cpython-36.pyc1880644editdlrm
dep_util.cpython-36.opt-1.pyc27040644editdlrm
dep_util.cpython-36.opt-2.pyc12600644editdlrm
dep_util.cpython-36.pyc27040644editdlrm
dir_util.cpython-36.opt-1.pyc58040644editdlrm
dir_util.cpython-36.opt-2.pyc34260644editdlrm
dir_util.cpython-36.pyc58040644editdlrm
dist.cpython-36.opt-1.pyc342130644editdlrm
dist.cpython-36.opt-2.pyc249170644editdlrm
dist.cpython-36.pyc342130644editdlrm
errors.cpython-36.opt-1.pyc54740644editdlrm
errors.cpython-36.opt-2.pyc28360644editdlrm
errors.cpython-36.pyc54740644editdlrm
extension.cpython-36.opt-1.pyc69500644editdlrm
extension.cpython-36.opt-2.pyc34600644editdlrm
extension.cpython-36.pyc69500644editdlrm
fancy_getopt.cpython-36.opt-1.pyc105030644editdlrm
fancy_getopt.cpython-36.opt-2.pyc76920644editdlrm
fancy_getopt.cpython-36.pyc106530644editdlrm
filelist.cpython-36.opt-1.pyc97750644editdlrm
filelist.cpython-36.opt-2.pyc69040644editdlrm
filelist.cpython-36.pyc98650644editdlrm
file_util.cpython-36.opt-1.pyc58970644editdlrm
file_util.cpython-36.opt-2.pyc37600644editdlrm
file_util.cpython-36.pyc58970644editdlrm
log.cpython-36.opt-1.pyc22990644editdlrm
log.cpython-36.opt-2.pyc22380644editdlrm
log.cpython-36.pyc22990644editdlrm
msvc9compiler.cpython-36.opt-1.pyc173810644editdlrm
msvc9compiler.cpython-36.opt-2.pyc157640644editdlrm
msvc9compiler.cpython-36.pyc174440644editdlrm
msvccompiler.cpython-36.opt-1.pyc145680644editdlrm
msvccompiler.cpython-36.opt-2.pyc129870644editdlrm
msvccompiler.cpython-36.pyc145680644editdlrm
spawn.cpython-36.opt-1.pyc49930644editdlrm
spawn.cpython-36.opt-2.pyc36890644editdlrm
spawn.cpython-36.pyc49930644editdlrm
sysconfig.cpython-36.opt-1.pyc119180644editdlrm
sysconfig.cpython-36.opt-2.pyc84330644editdlrm
sysconfig.cpython-36.pyc119180644editdlrm
text_file.cpython-36.opt-1.pyc84580644editdlrm
text_file.cpython-36.opt-2.pyc33560644editdlrm
text_file.cpython-36.pyc84580644editdlrm
unixccompiler.cpython-36.opt-1.pyc68510644editdlrm
unixccompiler.cpython-36.opt-2.pyc62220644editdlrm
unixccompiler.cpython-36.pyc68510644editdlrm
util.cpython-36.opt-1.pyc155230644editdlrm
util.cpython-36.opt-2.pyc94620644editdlrm
util.cpython-36.pyc155230644editdlrm
version.cpython-36.opt-1.pyc73090644editdlrm
version.cpython-36.opt-2.pyc40240644editdlrm
version.cpython-36.pyc73540644editdlrm
versionpredicate.cpython-36.opt-1.pyc50830644editdlrm
versionpredicate.cpython-36.opt-2.pyc26030644editdlrm
versionpredicate.cpython-36.pyc50830644editdlrm
_msvccompiler.cpython-36.opt-1.pyc135010644editdlrm
_msvccompiler.cpython-36.opt-2.pyc126890644editdlrm
_msvccompiler.cpython-36.pyc135620644editdlrm
__init__.cpython-36.opt-1.pyc3780644editdlrm
__init__.cpython-36.opt-2.pyc1960644editdlrm
__init__.cpython-36.pyc3780644editdlrm
Edit: /usr/lib64/python3.6/distutils/__pycache__/archive_util.cpython-36.opt-1.pyc (6527B)
3 \F! @sDdZddlZddlmZddlZy ddlZWnek rDdZYnXddlmZddl m Z ddl m Z ddl mZyddlmZWnek rdZYnXydd lmZWnek rdZYnXd d Zd d Zd!ddZd"ddZed#gdfed$gdfed%gdfed&gdfed'gdfegdfdZddZd(dd ZdS))zodistutils.archive_util Utility functions for creating archive files (tarballs, zip files, that sort of thing).N)warn)DistutilsExecError)spawn)mkpath)log)getpwnam)getgrnamc CsNtdks|dkrdSy t|}Wntk r8d}YnX|dk rJ|dSdS)z"Returns a gid, given a group name.N)rKeyError)nameresultr ./usr/lib64/python3.6/distutils/archive_util.py_get_gids  rc CsNtdks|dkrdSy t|}Wntk r8d}YnX|dk rJ|dSdS)z"Returns an uid, given a user name.Nr )rr )r r r r r_get_uid+s  rgzipc s.dddddd}dddd d }|d k r:||jkr:td |d } |dkrZ| |j|d7} ttjj| |ddd l} tj dt t fdd} |s| j | d||} z| j || dWd | jX|dkr*tdt| ||} tjdkr|| | g}n |d| g}t||d| S| S)a=Create a (possibly compressed) tar file from all the files under 'base_dir'. 'compress' must be "gzip" (the default), "bzip2", "xz", "compress", or None. ("compress" will be deprecated in Python 3.2) '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. Zgzbz2xz)rbzip2rNcompressz.gzz.bz2z.xzz.Z)rrrrNzKbad value for 'compress': must be None, 'gzip', 'bzip2', 'xz' or 'compress'z.tarr)dry_runrzCreating tar archivecs,dk r|_|_dk r(|_|_|S)N)gidZgnameuiduname)Ztarinfo)rgroupownerrr r _set_uid_gidasz"make_tarball.._set_uid_gidzw|%s)filterz'compress' will be deprecated.Zwin32z-f)keys ValueErrorgetrospathdirnametarfilerinforropenaddcloserPendingDeprecationWarningsysplatformr) base_namebase_dirrverboserrrZtar_compressionZ compress_extZ archive_namer%rtarZcompressed_namecmdr )rrrrr make_tarball7s<          r2c Cs|d}ttjj||dtdkrp|r.d}nd}ytd|||g|dWn tk rjtd|YnXn:tjd|||sytj |d tj d }Wn&t k rtj |d tj d }YnX|tj krtjjtjj|d }|j||tjd |xtj|D]\}} } x>| D]6} tjjtjj|| d }|j||tjd |qWxJ| D]B} tjjtjj|| }tjj|rV|j||tjd |qVWqW|j|S) 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.zip)rNz-rz-rqzipzkunable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilityz#creating '%s' and adding '%s' to itw)Z compressionrz adding '%s')rr"r#r$zipfilerrrr&ZZipFileZ ZIP_DEFLATED RuntimeErrorZ ZIP_STOREDcurdirnormpathjoinwritewalkisfiler)) r-r.r/rZ zip_filenameZ zipoptionsr3r#dirpathZdirnames filenamesr r r r make_zipfilesJ          r?rzgzip'ed tar-filerzbzip2'ed tar-filerzxz'ed tar-filezcompressed tar filezuncompressed tar filezZIP file)ZgztarZbztarZxztarZztarr0r3cCsx|D]}|tkr|SqWdS)zqReturns the first format from the 'format' list that is unknown. If all formats are known, returns None N)ARCHIVE_FORMATS)Zformatsformatr r rcheck_archive_formatss rBcCstj}|dk r6tjd|tjj|}|s6tj||dkrDtj}d|i} y t|} Wn t k rxt d|YnX| d} x| dD]\} } | | | <qW|dkr|| d<|| d <z| ||f| }Wd|dk rtjd |tj|X|S) aCreate 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. Nzchanging into '%s'rzunknown archive format '%s'rr3rrzchanging back to '%s') r"getcwdrdebugr#abspathchdirr7r@r r )r-rAZroot_dirr.r/rrrZsave_cwdkwargsZ format_infofuncargvalfilenamer r r make_archives2       rM)rrrNN)rr)rr)rr)rr)rr)rN)NNrrNN)__doc__r"warningsrr+r5 ImportErrorZdistutils.errorsrZdistutils.spawnrZdistutils.dir_utilrZ distutilsrpwdrZgrprrrr2r?r@rBrMr r r rsB            G =