SILENT KILLERPanel

Current Path: > > opt > alt > python27 > 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: //opt/alt/python27/lib64/python2.7//distutils

NameTypeSizeLast ModifiedActions
command Directory - -
README File 295 bytes January 08 2025 10:43:28.
__init__.py File 236 bytes January 08 2025 10:43:29.
__init__.pyc File 428 bytes January 08 2025 10:43:30.
__init__.pyo File 428 bytes January 08 2025 10:43:30.
archive_util.py File 8219 bytes January 08 2025 10:43:30.
archive_util.pyc File 7705 bytes January 08 2025 10:43:30.
archive_util.pyo File 7705 bytes January 08 2025 10:43:30.
bcppcompiler.py File 14941 bytes January 08 2025 10:43:29.
bcppcompiler.pyc File 7999 bytes January 08 2025 10:43:30.
bcppcompiler.pyo File 7999 bytes January 08 2025 10:43:30.
ccompiler.py File 46726 bytes January 08 2025 10:43:30.
ccompiler.pyc File 37597 bytes January 08 2025 10:43:30.
ccompiler.pyo File 37456 bytes January 08 2025 10:43:30.
cmd.py File 19270 bytes January 08 2025 10:43:28.
cmd.pyc File 17285 bytes January 08 2025 10:43:30.
cmd.pyo File 17285 bytes January 08 2025 10:43:30.
config.py File 4134 bytes January 08 2025 10:43:29.
config.pyc File 3656 bytes January 08 2025 10:43:28.
config.pyo File 3656 bytes January 08 2025 10:43:28.
core.py File 9019 bytes January 08 2025 10:43:30.
core.pyc File 7588 bytes January 08 2025 10:43:30.
core.pyo File 7588 bytes January 08 2025 10:43:30.
cygwinccompiler.py File 17735 bytes January 08 2025 10:43:30.
cygwinccompiler.pyc File 9981 bytes January 08 2025 10:43:30.
cygwinccompiler.pyo File 9981 bytes January 08 2025 10:43:30.
debug.py File 162 bytes January 08 2025 10:43:29.
debug.pyc File 267 bytes January 08 2025 10:43:28.
debug.pyo File 267 bytes January 08 2025 10:43:28.
dep_util.py File 3509 bytes January 08 2025 10:43:28.
dep_util.pyc File 3232 bytes January 08 2025 10:43:30.
dep_util.pyo File 3232 bytes January 08 2025 10:43:30.
dir_util.py File 7868 bytes January 08 2025 10:43:30.
dir_util.pyc File 6877 bytes January 08 2025 10:43:30.
dir_util.pyo File 6877 bytes January 08 2025 10:43:30.
dist.py File 50049 bytes January 08 2025 10:43:30.
dist.pyc File 40047 bytes January 08 2025 10:43:30.
dist.pyo File 40047 bytes January 08 2025 10:43:30.
emxccompiler.py File 11931 bytes January 08 2025 10:43:29.
emxccompiler.pyc File 7584 bytes January 08 2025 10:43:30.
emxccompiler.pyo File 7584 bytes January 08 2025 10:43:30.
errors.py File 3494 bytes January 08 2025 10:43:29.
errors.pyc File 6545 bytes January 08 2025 10:43:29.
errors.pyo File 6545 bytes January 08 2025 10:43:29.
extension.py File 10904 bytes January 08 2025 10:43:30.
extension.pyc File 7464 bytes January 08 2025 10:43:30.
extension.pyo File 7238 bytes January 08 2025 10:43:30.
fancy_getopt.py File 17948 bytes January 08 2025 10:43:30.
fancy_getopt.pyc File 12231 bytes January 08 2025 10:43:30.
fancy_getopt.pyo File 12054 bytes January 08 2025 10:43:30.
file_util.py File 8131 bytes January 08 2025 10:43:30.
file_util.pyc File 6815 bytes January 08 2025 10:43:28.
file_util.pyo File 6815 bytes January 08 2025 10:43:28.
filelist.py File 12689 bytes January 08 2025 10:43:30.
filelist.pyc File 10977 bytes January 08 2025 10:43:28.
filelist.pyo File 10977 bytes January 08 2025 10:43:28.
log.py File 1686 bytes January 08 2025 10:43:30.
log.pyc File 2942 bytes January 08 2025 10:43:31.
log.pyo File 2942 bytes January 08 2025 10:43:31.
msvc9compiler.py File 31004 bytes January 08 2025 10:43:30.
msvc9compiler.pyc File 21900 bytes January 08 2025 10:43:30.
msvc9compiler.pyo File 21827 bytes January 08 2025 10:43:28.
msvccompiler.py File 23637 bytes January 08 2025 10:43:30.
msvccompiler.pyc File 17863 bytes January 08 2025 10:43:29.
msvccompiler.pyo File 17863 bytes January 08 2025 10:43:29.
spawn.py File 8648 bytes January 08 2025 10:43:30.
spawn.pyc File 6518 bytes January 08 2025 10:43:30.
spawn.pyo File 6518 bytes January 08 2025 10:43:30.
sysconfig.py File 17707 bytes January 08 2025 10:43:30.
sysconfig.py.debug-build File 17622 bytes January 08 2025 10:43:29.
sysconfig.pyc File 13609 bytes January 08 2025 10:43:30.
sysconfig.pyo File 13609 bytes January 08 2025 10:43:30.
text_file.py File 12428 bytes January 08 2025 10:43:30.
text_file.pyc File 9402 bytes January 08 2025 10:43:30.
text_file.pyo File 9402 bytes January 08 2025 10:43:30.
unixccompiler.py File 14222 bytes January 08 2025 10:43:28.
unixccompiler.py.distutils-rpath File 13677 bytes January 08 2025 10:43:30.
unixccompiler.pyc File 8385 bytes January 08 2025 10:43:28.
unixccompiler.pyo File 8385 bytes January 08 2025 10:43:28.
util.py File 18236 bytes January 08 2025 10:43:30.
util.pyc File 14568 bytes January 08 2025 10:43:28.
util.pyo File 14568 bytes January 08 2025 10:43:28.
version.py File 11433 bytes January 08 2025 10:43:29.
version.pyc File 7403 bytes January 08 2025 10:43:30.
version.pyo File 7403 bytes January 08 2025 10:43:30.
versionpredicate.py File 5095 bytes January 08 2025 10:43:30.
versionpredicate.pyc File 5633 bytes January 08 2025 10:43:30.
versionpredicate.pyo File 5633 bytes January 08 2025 10:43:30.

Reading File: //opt/alt/python27/lib64/python2.7//distutils/archive_util.pyo

�
�V~gc@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;/opt/alt/python27/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;/opt/alt/python27/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;/opt/alt/python27/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;/opt/alt/python27/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;/opt/alt/python27/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;/opt/alt/python27/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;/opt/alt/python27/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;/opt/alt/python27/lib64/python2.7/distutils/archive_util.pyt<module>s<



			E>	
	

SILENT KILLER Tool