SILENT KILLERPanel

Current Path: > > opt > alt > python34 > lib64 > python3.4 > > distutils > __pycache__


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/python34/lib64/python3.4//distutils/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-34.pyc File 406 bytes April 17 2024 17:10:09.
__init__.cpython-34.pyo File 406 bytes April 17 2024 17:10:09.
archive_util.cpython-34.pyc File 6738 bytes April 17 2024 17:10:10.
archive_util.cpython-34.pyo File 6738 bytes April 17 2024 17:10:10.
bcppcompiler.cpython-34.pyc File 7292 bytes April 17 2024 17:10:09.
bcppcompiler.cpython-34.pyo File 7292 bytes April 17 2024 17:10:09.
ccompiler.cpython-34.pyc File 34877 bytes April 17 2024 17:10:10.
ccompiler.cpython-34.pyo File 34712 bytes April 17 2024 17:10:05.
cmd.cpython-34.pyc File 15677 bytes April 17 2024 17:10:09.
cmd.cpython-34.pyo File 15677 bytes April 17 2024 17:10:09.
config.cpython-34.pyc File 3821 bytes April 17 2024 17:10:09.
config.cpython-34.pyo File 3821 bytes April 17 2024 17:10:09.
core.cpython-34.pyc File 7131 bytes April 17 2024 17:10:10.
core.cpython-34.pyo File 7131 bytes April 17 2024 17:10:05.
cygwinccompiler.cpython-34.pyc File 9237 bytes April 17 2024 17:10:10.
cygwinccompiler.cpython-34.pyo File 9237 bytes April 17 2024 17:10:10.
debug.cpython-34.pyc File 211 bytes April 17 2024 17:10:09.
debug.cpython-34.pyo File 211 bytes April 17 2024 17:10:09.
dep_util.cpython-34.pyc File 2865 bytes April 17 2024 17:10:09.
dep_util.cpython-34.pyo File 2865 bytes April 17 2024 17:10:09.
dir_util.cpython-34.pyc File 6234 bytes April 17 2024 17:10:10.
dir_util.cpython-34.pyo File 6234 bytes April 17 2024 17:10:10.
dist.cpython-34.pyc File 36851 bytes April 17 2024 17:10:10.
dist.cpython-34.pyo File 36851 bytes April 17 2024 17:10:05.
errors.cpython-34.pyc File 5717 bytes April 17 2024 17:10:09.
errors.cpython-34.pyo File 5717 bytes April 17 2024 17:10:09.
extension.cpython-34.pyc File 7216 bytes April 17 2024 17:10:10.
extension.cpython-34.pyo File 7216 bytes April 17 2024 17:10:10.
fancy_getopt.cpython-34.pyc File 11569 bytes April 17 2024 17:10:10.
fancy_getopt.cpython-34.pyo File 11398 bytes April 17 2024 17:10:05.
file_util.cpython-34.pyc File 6350 bytes April 17 2024 17:10:10.
file_util.cpython-34.pyo File 6350 bytes April 17 2024 17:10:10.
filelist.cpython-34.pyc File 10171 bytes April 17 2024 17:10:10.
filelist.cpython-34.pyo File 10171 bytes April 17 2024 17:10:10.
log.cpython-34.pyc File 2493 bytes April 17 2024 17:10:10.
log.cpython-34.pyo File 2493 bytes April 17 2024 17:10:10.
msvc9compiler.cpython-34.pyc File 19247 bytes April 17 2024 17:10:10.
msvc9compiler.cpython-34.pyo File 19180 bytes April 17 2024 17:10:05.
msvccompiler.cpython-34.pyc File 15984 bytes April 17 2024 17:10:10.
msvccompiler.cpython-34.pyo File 15984 bytes April 17 2024 17:10:10.
spawn.cpython-34.pyc File 5488 bytes April 17 2024 17:10:10.
spawn.cpython-34.pyo File 5488 bytes April 17 2024 17:10:10.
sysconfig.cpython-34.pyc File 13527 bytes April 17 2024 17:10:10.
sysconfig.cpython-34.pyo File 13527 bytes April 17 2024 17:10:10.
text_file.cpython-34.pyc File 8935 bytes April 17 2024 17:10:10.
text_file.cpython-34.pyo File 8935 bytes April 17 2024 17:10:10.
unixccompiler.cpython-34.pyc File 7407 bytes April 17 2024 17:10:09.
unixccompiler.cpython-34.pyo File 7407 bytes April 17 2024 17:10:09.
util.cpython-34.pyc File 16612 bytes April 17 2024 17:10:09.
util.cpython-34.pyo File 16612 bytes April 17 2024 17:10:09.
version.cpython-34.pyc File 7973 bytes April 17 2024 17:10:09.
version.cpython-34.pyo File 7922 bytes April 17 2024 17:10:05.
versionpredicate.cpython-34.pyc File 5399 bytes April 17 2024 17:10:10.
versionpredicate.cpython-34.pyo File 5399 bytes April 17 2024 17:10:10.

Reading File: //opt/alt/python34/lib64/python3.4//distutils/__pycache__/archive_util.cpython-34.pyc

�
i f	� @s�dZddlZddlmZddlZyddlZWnek
rXdZYnXddlmZddl	m
Z
ddlmZddl
mZyddlmZWnek
r�dZYnXydd	lmZWnek
r�dZYnXd
d�Zdd
�Zddddddd�Zdddd�Zied#gdfd6ed$gdfd6ed%gdfd6ed&gdfd6egdfd6Zdd �Zddddddd!d"�ZdS)'zodistutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).�N)�warn)�DistutilsExecError)�spawn)�mkpath)�log)�getpwnam)�getgrnamcCs_tdks|dkrdSyt|�}Wntk
rFd}YnX|dk	r[|dSdS)z"Returns a gid, given a group name.N�)r�KeyError)�name�result�r
�;/opt/alt/python34/lib64/python3.4/distutils/archive_util.py�_get_gids
rcCs_tdks|dkrdSyt|�}Wntk
rFd}YnX|dk	r[|dSdS)z"Returns an uid, given a user name.Nr	)rr
)rrr
r
r�_get_uid+s
r�gzipcs�idd6dd6dd6dd6}idd6d	d6d
d6}|dk	rj||j�krjtd��n|d}	|dkr�|	|j|d�7}	nttjj|	�d
|�ddl}
tj	d�t
���t�������fdd�}|sI|
j|	d||�}z|j
|d|�Wd|j�Xn|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), "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.
    Zgzr�bz2�bzip2�N�compressz.gzz.bz2z.ZzEbad value for 'compress': must be None, 'gzip', 'bzip2' or 'compress'z.tar�dry_runrzCreating tar archivecsF�dk	r!�|_�|_n�dk	rB�|_�|_n|S)N)�gidZgname�uid�uname)Ztarinfo)r�group�ownerrr
r�_set_uid_gid_s		z"make_tarball.<locals>._set_uid_gidzw|%s�filterz'compress' will be deprecated.�win32z-f)�keys�
ValueError�getr�os�path�dirname�tarfiler�inforr�open�add�closer�PendingDeprecationWarning�sys�platformr)�	base_name�base_dirr�verboserrrZtar_compressionZcompress_extZarchive_namer%r�tarZcompressed_name�cmdr
)rrrrr�make_tarball7s8"

	
r2cCs�|d}ttjj|�d|�tdkr�|rAd}nd}y td|||gd|�Wq�tk
r�td|��Yq�Xntjd||�|s�ytj	|d	d
tj
�}Wn-tk
r�tj	|d	d
tj�}YnXx�tj
|�D]w\}}}	xe|	D]]}
tjjtjj||
��}tjj|�r|j||�tjd|�qqWqW|j�n|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.ziprNz-rz-rq�zipzkunable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilityz#creating '%s' and adding '%s' to it�wZcompressionzadding '%s')rr"r#r$�zipfilerrrr&ZZipFileZZIP_DEFLATED�RuntimeErrorZ
ZIP_STORED�walk�normpath�join�isfile�writer))r-r.r/rZzip_filenameZ
zipoptionsr3�dirpathZdirnames�	filenamesrr#r
r
r�make_zipfile}s:	
	
	


!
r>rzgzip'ed tar-fileZgztarrzbzip2'ed tar-fileZbztarzcompressed tar fileZztarzuncompressed tar filer0zZIP filer3cCs%x|D]}|tkr|SqWdS)zqReturns the first format from the 'format' list that is unknown.

    If all formats are known, returns None
    N)�ARCHIVE_FORMATS)Zformats�formatr
r
r�check_archive_formats�s
rAcCsGtj�}|dk	rStjd|�tjj|�}|sStj|�qSn|dkrktj}ni|d6}	yt|}
Wn"t	k
r�t
d|��YnX|
d}x"|
dD]\}}
|
|	|<q�W|dkr�||	d<||	d	<nz||||	�}Wd|dk	rBtjd
|�tj|�nX|S)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", "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.
    Nzchanging into '%s'rzunknown archive format '%s'r�r3rrzchanging back to '%s')r"�getcwdr�debugr#�abspath�chdir�curdirr?r
r )r-r@Zroot_dirr.r/rrrZsave_cwd�kwargsZformat_info�func�arg�val�filenamer
r
r�make_archive�s2




rM)�compresszgzip)rNzbzip2)rNrN)rNN)�__doc__r"�warningsrr+r5�ImportErrorZdistutils.errorsrZdistutils.spawnrZdistutils.dir_utilrZ	distutilsr�pwdrZgrprrrr2r>r?rArMr
r
r
r�<module>sB


	E4
	

SILENT KILLER Tool