<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
ž
«ÿf³  c               @   sJ  d  Z  d d l Z d d l m Z d d l Z y d d l Z Wn e k
 rX d Z Yn Xd d l m	 Z	 d d l
 m Z d d l m Z d d l m Z d d d d	 d
 „ Z d d d d „ Z i e d g d f d 6e d g d f d 6e d g d f d 6e d  g d f d 6e g  d f d 6Z d d „  Z d d d d d d „ Z d S(!   uo   distutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).i    N(   u   warn(   u   DistutilsExecError(   u   spawn(   u   mkpath(   u   logu   gzipc             C   s  i d d 6d d 6d d 6d d 6} i d d 6d d 6d	 d 6} | d k	 rj | | j ƒ  k rj t d
 ƒ ‚ n  |  d } | d k r™ | | j | d ƒ 7} n  t t j j | ƒ d | ƒd d l } t	 j
 d ƒ | s| j | d | | ƒ }	 z |	 j | ƒ Wd |	 j ƒ  Xn  | d k r{t d t ƒ | | | }
 t j d k rX| | |
 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.
    u   gzu   gzipu   bz2u   bzip2u    u   compressu   .gzu   .bz2u   .ZuE   bad value for 'compress': must be None, 'gzip', 'bzip2' or 'compress'u   .taru   dry_runi    Nu   Creating tar archiveu   w|%su   'compress' will be deprecated.u   win32u   -f(   u   Noneu   keysu
   ValueErroru   getu   mkpathu   osu   pathu   dirnameu   tarfileu   logu   infou   openu   addu   closeu   warnu   PendingDeprecationWarningu   sysu   platformu   spawn(   u	   base_nameu   base_diru   compressu   verboseu   dry_runu   tar_compressionu   compress_extu   archive_nameu   tarfileu   taru   compressed_nameu   cmd(    (    u;   /opt/alt/python33/lib64/python3.3/distutils/archive_util.pyu   make_tarball   s2    "
u   make_tarballc             C   s“  |  d } t  t j j | ƒ d | ƒt d k r | rA d } n d } y  t d | | | g d | ƒWqt k
 r‹ t d | ƒ ‚ YqXn t j	 d | | ƒ | sy t j
 | d d	 t j ƒ} Wn- t k
 rö t j
 | d d	 t j ƒ} Yn Xxˆ t j | ƒ D]w \ } } }	 xe |	 D]] }
 t j j t j j | |
 ƒ ƒ } t j j | ƒ r| j | | ƒ t j	 d
 | ƒ qqWqW| j ƒ  n  | S(   uv  Create 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   .zipu   dry_runu   -ru   -rqu   zipuk   unable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilityu#   creating '%s' and adding '%s' to itu   wu   compressionu   adding '%s'N(   u   mkpathu   osu   pathu   dirnameu   zipfileu   Noneu   spawnu   DistutilsExecErroru   logu   infou   ZipFileu   ZIP_DEFLATEDu   RuntimeErroru
   ZIP_STOREDu   walku   normpathu   joinu   isfileu   writeu   close(   u	   base_nameu   base_diru   verboseu   dry_runu   zip_filenameu
   zipoptionsu   zipu   dirpathu   dirnamesu	   filenamesu   nameu   path(    (    u;   /opt/alt/python33/lib64/python3.3/distutils/archive_util.pyu   make_zipfileH   s:    	
		
!u   make_zipfileu   compressu   gzip'ed tar-fileu   gztaru   bzip2u   bzip2'ed tar-fileu   bztaru   compressed tar fileu   ztaru   uncompressed tar fileu   taru   ZIP fileu   zipc             C   s%   x |  D] } | t  k r | Sq Wd S(   uq   Returns the first format from the 'format' list that is unknown.

    If all formats are known, returns None
    N(   u   ARCHIVE_FORMATSu   None(   u   formatsu   format(    (    u;   /opt/alt/python33/lib64/python3.3/distutils/archive_util.pyu   check_archive_formats„   s    u   check_archive_formatsc             C   s$  t  j ƒ  } | d k	 rS t j d | ƒ t  j j |  ƒ }  | sS t  j | ƒ qS n  | d k rk t  j } n  i | d 6} y t	 | } Wn" t
 k
 rª t d | ƒ ‚ Yn X| d }	 x" | d D] \ }
 } | | |
 <qÀ Wz |	 |  | |  } Wd | d k	 rt j d | ƒ t  j | ƒ n  X| S(   uy  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.
    u   changing into '%s'u   dry_runu   unknown archive format '%s'i    i   Nu   changing back to '%s'(   u   osu   getcwdu   Noneu   logu   debugu   pathu   abspathu   chdiru   curdiru   ARCHIVE_FORMATSu   KeyErroru
   ValueError(   u	   base_nameu   formatu   root_diru   base_diru   verboseu   dry_runu   save_cwdu   kwargsu   format_infou   funcu   argu   valu   filename(    (    u;   /opt/alt/python33/lib64/python3.3/distutils/archive_util.pyu   make_archiveŽ   s,    
u   make_archive(   u   compressu   gzip(   u   compressu   bzip2(   u   compressu   compress(   u   compressN(   u   __doc__u   osu   warningsu   warnu   sysu   zipfileu   ImportErroru   Noneu   distutils.errorsu   DistutilsExecErroru   distutils.spawnu   spawnu   distutils.dir_utilu   mkpathu	   distutilsu   logu   make_tarballu   make_zipfileu   ARCHIVE_FORMATSu   check_archive_formatsu   make_archive(    (    (    u;   /opt/alt/python33/lib64/python3.3/distutils/archive_util.pyu   <module>   s,   34
	