SILENT KILLERPanel

Current Path: > > usr > > lib64 > python2.7 > distutils >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr//lib64/python2.7/distutils/

NameTypeSizeLast ModifiedActions
command Directory - -
README File 295 bytes April 10 2024 04:58:35.
__init__.py File 236 bytes April 10 2024 04:58:35.
__init__.pyc File 415 bytes April 10 2024 04:58:46.
__init__.pyo File 415 bytes April 10 2024 04:58:46.
archive_util.py File 8219 bytes April 10 2024 04:58:35.
archive_util.pyc File 7601 bytes April 10 2024 04:58:46.
archive_util.pyo File 7601 bytes April 10 2024 04:58:46.
bcppcompiler.py File 14941 bytes April 10 2024 04:58:35.
bcppcompiler.pyc File 7882 bytes April 10 2024 04:58:46.
bcppcompiler.pyo File 7882 bytes April 10 2024 04:58:46.
ccompiler.py File 46726 bytes April 10 2024 04:58:35.
ccompiler.pyc File 36882 bytes April 10 2024 04:58:46.
ccompiler.pyo File 36741 bytes April 10 2024 04:58:44.
cmd.py File 19270 bytes April 10 2024 04:58:35.
cmd.pyc File 16804 bytes April 10 2024 04:58:46.
cmd.pyo File 16804 bytes April 10 2024 04:58:46.
config.py File 4134 bytes April 10 2024 04:58:35.
config.pyc File 3565 bytes April 10 2024 04:58:46.
config.pyo File 3565 bytes April 10 2024 04:58:46.
core.py File 9019 bytes April 10 2024 04:58:35.
core.pyc File 7536 bytes April 10 2024 04:58:46.
core.pyo File 7536 bytes April 10 2024 04:58:46.
cygwinccompiler.py File 17735 bytes April 10 2024 04:58:35.
cygwinccompiler.pyc File 9825 bytes April 10 2024 04:58:46.
cygwinccompiler.pyo File 9825 bytes April 10 2024 04:58:46.
debug.py File 162 bytes April 10 2024 04:58:35.
debug.pyc File 254 bytes April 10 2024 04:58:46.
debug.pyo File 254 bytes April 10 2024 04:58:46.
dep_util.py File 3509 bytes April 10 2024 04:58:35.
dep_util.pyc File 3180 bytes April 10 2024 04:58:46.
dep_util.pyo File 3180 bytes April 10 2024 04:58:46.
dir_util.py File 7868 bytes April 10 2024 04:58:35.
dir_util.pyc File 6786 bytes April 10 2024 04:58:46.
dir_util.pyo File 6786 bytes April 10 2024 04:58:46.
dist.py File 50049 bytes April 10 2024 04:58:35.
dist.pyc File 39176 bytes April 10 2024 04:58:46.
dist.pyo File 39176 bytes April 10 2024 04:58:46.
emxccompiler.py File 11931 bytes April 10 2024 04:58:35.
emxccompiler.pyc File 7467 bytes April 10 2024 04:58:46.
emxccompiler.pyo File 7467 bytes April 10 2024 04:58:46.
errors.py File 3494 bytes April 10 2024 04:58:35.
errors.pyc File 6285 bytes April 10 2024 04:58:46.
errors.pyo File 6285 bytes April 10 2024 04:58:46.
extension.py File 10904 bytes April 10 2024 04:58:35.
extension.pyc File 7412 bytes April 10 2024 04:58:46.
extension.pyo File 7186 bytes April 10 2024 04:58:44.
fancy_getopt.py File 17948 bytes April 10 2024 04:58:35.
fancy_getopt.pyc File 11958 bytes April 10 2024 04:58:46.
fancy_getopt.pyo File 11781 bytes April 10 2024 04:58:44.
file_util.py File 8131 bytes April 10 2024 04:58:35.
file_util.pyc File 6750 bytes April 10 2024 04:58:46.
file_util.pyo File 6750 bytes April 10 2024 04:58:46.
filelist.py File 12689 bytes April 10 2024 04:58:35.
filelist.pyc File 10756 bytes April 10 2024 04:58:46.
filelist.pyo File 10756 bytes April 10 2024 04:58:46.
log.py File 1686 bytes April 10 2024 04:58:35.
log.pyc File 2786 bytes April 10 2024 04:58:46.
log.pyo File 2786 bytes April 10 2024 04:58:46.
msvc9compiler.py File 31004 bytes April 10 2024 04:58:35.
msvc9compiler.pyc File 21497 bytes April 10 2024 04:58:46.
msvc9compiler.pyo File 21424 bytes April 10 2024 04:58:44.
msvccompiler.py File 23637 bytes April 10 2024 04:58:35.
msvccompiler.pyc File 17525 bytes April 10 2024 04:58:46.
msvccompiler.pyo File 17525 bytes April 10 2024 04:58:46.
spawn.py File 8648 bytes April 10 2024 04:58:35.
spawn.pyc File 6427 bytes April 10 2024 04:58:46.
spawn.pyo File 6427 bytes April 10 2024 04:58:46.
sysconfig.py File 17707 bytes April 10 2024 04:58:41.
sysconfig.py.debug-build File 17622 bytes April 10 2024 04:58:35.
sysconfig.pyc File 13404 bytes April 10 2024 04:58:46.
sysconfig.pyo File 13404 bytes April 10 2024 04:58:46.
text_file.py File 12428 bytes April 10 2024 04:58:35.
text_file.pyc File 9259 bytes April 10 2024 04:58:46.
text_file.pyo File 9259 bytes April 10 2024 04:58:46.
unixccompiler.py File 14222 bytes April 10 2024 04:58:35.
unixccompiler.py.distutils-rpath File 13677 bytes April 10 2024 04:58:35.
unixccompiler.pyc File 8229 bytes April 10 2024 04:58:46.
unixccompiler.pyo File 8229 bytes April 10 2024 04:58:46.
util.py File 18236 bytes April 10 2024 04:58:35.
util.pyc File 14386 bytes April 10 2024 04:58:46.
util.pyo File 14386 bytes April 10 2024 04:58:46.
version.py File 11433 bytes April 10 2024 04:58:35.
version.pyc File 7208 bytes April 10 2024 04:58:46.
version.pyo File 7208 bytes April 10 2024 04:58:46.
versionpredicate.py File 5095 bytes April 10 2024 04:58:35.
versionpredicate.pyc File 5542 bytes April 10 2024 04:58:46.
versionpredicate.pyo File 5542 bytes April 10 2024 04:58:46.

Reading File: //usr//lib64/python2.7/distutils//archive_util.pyc

�
{fc@s�dZdZddlZddlmZddlZddlmZddlm	Z	ddl
mZddlm
Z
ydd	lmZWnek
r�dZnXydd
lmZWnek
r�dZnXd�Zd�Zd
ddddd�Zddd�Ziedgdfd6ed gdfd6ed!gdfd6ed"gdfd6egdfd6Zd�Zddddddd�ZdS(#sodistutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).s$Id$i����N(twarn(tDistutilsExecError(tspawn(tmkpath(tlog(tgetpwnam(tgetgrnamcCs^tdks|dkrdSyt|�}Wntk
rEd}nX|dk	rZ|dSdS(s"Returns a gid, given a group name.iN(RtNonetKeyError(tnametresult((s./usr/lib64/python2.7/distutils/archive_util.pyt_get_gids

cCs^tdks|dkrdSyt|�}Wntk
rEd}nX|dk	rZ|dSdS(s"Returns an uid, given a user name.iN(RRR(R	R
((s./usr/lib64/python2.7/distutils/archive_util.pyt_get_uid's

tgzipics�idd6dd6dd6dd6}idd6dd6d	d6}|dk	rg||j�krgtd
�n|d}	|dkr�|	|j|d�7}	nttjj|	�d|�d
dl}
t	j
d�t���t�������fd�}|sC|
j
|	d||�}z|j|d|�Wd|j�Xn|dkr�tdt�|	||}
tjdkr�||	|
g}n|d|	g}t|d|�|
S|	S(s-Create a (possibly compressed) tar file from all the files under
    'base_dir'.

    'compress' must be "gzip" (the default), "compress", "bzip2", 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" or ".Z").

    Returns the output filename.
    tgzR
tbz2tbzip2ttcompresss.gzs.bz2s.ZsEbad value for 'compress': must be None, 'gzip', 'bzip2' or 'compress's.tartdry_runi����NsCreating tar archivecsF�dk	r!�|_�|_n�dk	rB�|_�|_n|S(N(Rtgidtgnametuidtuname(ttarinfo(RtgrouptownerR(s./usr/lib64/python2.7/distutils/archive_util.pyt_set_uid_gid[s		sw|%stfilters'compress' will be deprecated.twin32s-f(Rtkeyst
ValueErrortgetRtostpathtdirnamettarfileRtinfoRRtopentaddtcloseRtPendingDeprecationWarningtsystplatformR(t	base_nametbase_dirRtverboseRRRttar_compressiontcompress_exttarchive_nameR$Rttartcompressed_nametcmd((RRRRs./usr/lib64/python2.7/distutils/archive_util.pytmake_tarball3s8"	

	
c
Cs-yddl}Wntk
r)d}nX|d}ttjj|�d|�|dkr�|rkd}nd}y td|||gd|�Wq)tk
r�td|�q)Xntt	j
d	||�|s)|j|d
d|j�}|tj
kr<tjjtjj|d��}|j||�t	j
d
|�nx�tj|�D]�\}	}
}xR|
D]J}tjjtjj|	|d��}|j||�t	j
d
|�qbWxe|D]]}tjjtjj|	|��}tjj|�r�|j||�t	j
d
|�q�q�WqLW|j�n|S(svCreate 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.
    i����Ns.zipRs-rs-rqtzipskunable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilitys#creating '%s' and adding '%s' to ittwtcompressionRsadding '%s'(tzipfiletImportErrorRRR!R"R#RRRR%tZipFiletZIP_DEFLATEDtcurdirtnormpathtjointwritetwalktisfileR((
R,R-R.RR9tzip_filenamet
zipoptionsR6R"tdirpathtdirnamest	filenamesR	((s./usr/lib64/python2.7/distutils/archive_util.pytmake_zipfileysL	


	
	
!
$
!
Rsgzip'ed tar-filetgztarRsbzip2'ed tar-filetbztarscompressed tar filetztarsuncompressed tar fileR2sZIP fileR6cCs%x|D]}|tkr|SqWdS(sqReturns the first format from the 'format' list that is unknown.

    If all formats are known, returns None
    N(tARCHIVE_FORMATSR(tformatstformat((s./usr/lib64/python2.7/distutils/archive_util.pytcheck_archive_formats�s
cCsCtj�}|d	k	rStjd|�tjj|�}|sStj|�qSn|d	krktj}ni|d6}	yt	|}
Wnt
k
r�td|�nX|
d}x"|
dD]\}}
|
|	|<q�W|dkr�||	d<||	d<nz||||	�}Wd	|d	k	r>tjd
|�tj|�nX|S(s�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", "ztar",
    or "gztar".

    '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.
    schanging into '%s'Rsunknown archive format '%s'iiR6RRNschanging back to '%s'(R!tgetcwdRRtdebugR"tabspathtchdirR=RLRR(R,RNtroot_dirR-R.RRRtsave_cwdtkwargstformat_infotfunctargtvaltfilename((s./usr/lib64/python2.7/distutils/archive_util.pytmake_archive�s2




(RR
(RR(RR(RN(t__doc__t__revision__R!twarningsRR*tdistutils.errorsRtdistutils.spawnRtdistutils.dir_utilRt	distutilsRtpwdRR:RtgrpRRRR5RHRLROR\(((s./usr/lib64/python2.7/distutils/archive_util.pyt<module>s<



			E>	
	

SILENT KILLER Tool