$80 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python33/lib64/python3.3/distutils/__pycache__/

HOME
Current File : /opt/alt/python33/lib64/python3.3/distutils/__pycache__//archive_util.cpython-33.pyc
�
��f�c@sJdZddlZddlmZddlZyddlZWnek
rXdZYnXddlm	Z	ddl
mZddlm
Z
ddlmZdddd	d
�Zdddd�Ziedgdfd6edgdfd6edgdfd6ed gdfd6egdfd6Zdd�Zdddddd�ZdS(!uodistutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).iN(uwarn(uDistutilsExecError(uspawn(umkpath(ulogugzipc
Csidd6dd6dd6dd6}idd6dd6d	d6}|dk	rj||j�krjtd
��n|d}|dkr�||j|d�7}nttjj|�d|�d
dl}t	j
d�|s|j|d||�}	z|	j|�Wd|	j
�Xn|dkr{tdt�|||}
tjdkrX|||
g}n|d|g}t|d|�|
S|S(u�Create a (possibly compressed) tar file from all the files under
    'base_dir'.

    'compress' must be "gzip" (the default), "compress", "bzip2", or None.
    Both "tar" and the compression utility named by 'compress' must be on
    the default program search path, so this is probably Unix-specific.
    The output tar file will be named 'base_dir' +  ".tar", possibly plus
    the appropriate compression extension (".gz", ".bz2" or ".Z").
    Returns the output filename.
    ugzugzipubz2ubzip2uucompressu.gzu.bz2u.ZuEbad value for 'compress': must be None, 'gzip', 'bzip2' or 'compress'u.tarudry_runiNuCreating tar archiveuw|%su'compress' will be deprecated.uwin32u-f(uNoneukeysu
ValueErrorugetumkpathuosupathudirnameutarfileuloguinfouopenuadducloseuwarnuPendingDeprecationWarningusysuplatformuspawn(u	base_nameubase_dirucompressuverboseudry_runutar_compressionucompress_extuarchive_nameutarfileutarucompressed_nameucmd((u;/opt/alt/python33/lib64/python3.3/distutils/archive_util.pyumake_tarballs2"


umake_tarballcCs�|d}ttjj|�d|�tdkr�|rAd}nd}y td|||gd|�Wq�tk
r�td|��Yq�Xntj	d||�|s�ytj
|dd	tj�}Wn-tk
r�tj
|dd	tj
�}YnXx�tj|�D]w\}}}	xe|	D]]}
tjjtjj||
��}tjj|�r|j||�tj	d
|�qqWqW|j�n|S(uvCreate 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.
    u.zipudry_runu-ru-rquzipukunable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilityu#creating '%s' and adding '%s' to ituwucompressionuadding '%s'N(umkpathuosupathudirnameuzipfileuNoneuspawnuDistutilsExecErroruloguinfouZipFileuZIP_DEFLATEDuRuntimeErroru
ZIP_STOREDuwalkunormpathujoinuisfileuwriteuclose(u	base_nameubase_diruverboseudry_runuzip_filenameu
zipoptionsuzipudirpathudirnamesu	filenamesunameupath((u;/opt/alt/python33/lib64/python3.3/distutils/archive_util.pyumake_zipfileHs:	
	
	


!
umake_zipfileucompressugzip'ed tar-fileugztarubzip2ubzip2'ed tar-fileubztarucompressed tar fileuztaruuncompressed tar fileutaruZIP fileuzipcCs%x|D]}|tkr|SqWdS(uqReturns the first format from the 'format' list that is unknown.

    If all formats are known, returns None
    N(uARCHIVE_FORMATSuNone(uformatsuformat((u;/opt/alt/python33/lib64/python3.3/distutils/archive_util.pyucheck_archive_formats�s
ucheck_archive_formatsc
Cs$tj�}|dk	rStjd|�tjj|�}|sStj|�qSn|dkrktj}ni|d6}yt	|}Wn"t
k
r�td|��YnX|d}	x"|dD]\}
}|||
<q�Wz|	|||�}Wd|dk	rtjd|�tj|�nX|S(uyCreate 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.
    uchanging into '%s'udry_runuunknown archive format '%s'iiNuchanging back to '%s'(uosugetcwduNoneulogudebugupathuabspathuchdirucurdiruARCHIVE_FORMATSuKeyErroru
ValueError(
u	base_nameuformaturoot_dirubase_diruverboseudry_runusave_cwdukwargsuformat_infoufuncuarguvalufilename((u;/opt/alt/python33/lib64/python3.3/distutils/archive_util.pyumake_archive�s,


umake_archive(ucompressugzip(ucompressubzip2(ucompressucompress(ucompressN(u__doc__uosuwarningsuwarnusysuzipfileuImportErroruNoneudistutils.errorsuDistutilsExecErrorudistutils.spawnuspawnudistutils.dir_utilumkpathu	distutilsulogumake_tarballumake_zipfileuARCHIVE_FORMATSucheck_archive_formatsumake_archive(((u;/opt/alt/python33/lib64/python3.3/distutils/archive_util.pyu<module>s,
34
	


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-33.pyc
0.432 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
__init__.cpython-33.pyo
0.432 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
archive_util.cpython-33.pyc
6.42 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
archive_util.cpython-33.pyo
6.42 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
bcppcompiler.cpython-33.pyc
9.38 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
bcppcompiler.cpython-33.pyo
9.38 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ccompiler.cpython-33.pyc
42.924 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
ccompiler.cpython-33.pyo
42.676 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
cmd.cpython-33.pyc
20.176 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
cmd.cpython-33.pyo
20.176 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
config.cpython-33.pyc
4.987 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
config.cpython-33.pyo
4.987 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
core.cpython-33.pyc
8.21 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
core.cpython-33.pyo
8.21 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
cygwinccompiler.cpython-33.pyc
11.874 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
cygwinccompiler.cpython-33.pyo
11.874 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
debug.cpython-33.pyc
0.235 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
debug.cpython-33.pyo
0.235 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dep_util.cpython-33.pyc
3.292 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dep_util.cpython-33.pyo
3.292 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dir_util.cpython-33.pyc
7.353 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dir_util.cpython-33.pyo
7.353 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dist.cpython-33.pyc
47.759 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
dist.cpython-33.pyo
47.759 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
emxccompiler.cpython-33.pyc
8.374 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
emxccompiler.cpython-33.pyo
8.374 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
errors.cpython-33.pyc
8.803 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
errors.cpython-33.pyo
8.803 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
extension.cpython-33.pyc
8.338 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
extension.cpython-33.pyo
8.338 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fancy_getopt.cpython-33.pyc
14.666 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
fancy_getopt.cpython-33.pyo
14.464 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
file_util.cpython-33.pyc
7.16 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
file_util.cpython-33.pyo
7.16 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
filelist.cpython-33.pyc
12.759 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
filelist.cpython-33.pyo
12.759 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
log.cpython-33.pyc
3.6 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
log.cpython-33.pyo
3.6 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
msvc9compiler.cpython-33.pyc
25.019 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
msvc9compiler.cpython-33.pyo
24.947 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
msvccompiler.cpython-33.pyc
20.667 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
msvccompiler.cpython-33.pyo
20.667 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
spawn.cpython-33.pyc
7.534 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
spawn.cpython-33.pyo
7.534 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
sysconfig.cpython-33.pyc
17.709 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
sysconfig.cpython-33.pyo
17.709 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
text_file.cpython-33.pyc
10.121 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
text_file.cpython-33.pyo
10.121 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
unixccompiler.cpython-33.pyc
9.739 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
unixccompiler.cpython-33.pyo
9.739 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
util.cpython-33.pyc
20.001 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
util.cpython-33.pyo
20.001 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
version.cpython-33.pyc
10.059 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
version.cpython-33.pyo
9.993 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
versionpredicate.cpython-33.pyc
6.481 KB
17 Apr 2024 4.58 PM
root / linksafe
0644
versionpredicate.cpython-33.pyo
6.481 KB
17 Apr 2024 4.58 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF