<!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>
ž
«ÿfj  c               @   sR   d  Z  d d l Z d d l m Z d d l m Z d Z Gd d „  d e ƒ Z d S(   u   distutils.pypirc

Provides the PyPIRCCommand class, the base class for the command classes
that uses .pypirc in the distutils.command package.
i    N(   u   ConfigParser(   u   CommanduE   [distutils]
index-servers =
    pypi

[pypi]
username:%s
password:%s
c             B   sœ   |  Ee  Z d  Z d Z d Z d Z d Z d Z d d d e f d g Z	 d g Z
 d	 d
 „  Z d d „  Z d d „  Z d d „  Z d d „  Z d d „  Z d S(   u   PyPIRCCommandu;   Base command that knows how to handle the .pypirc file
    u   https://upload.pypi.org/legacy/u   pypiu   repository=u   ru   url of repository [default: %s]u   show-responseu&   display full response text from serverc             C   s   t  j j t  j j d ƒ d ƒ S(   u   Returns rc file path.u   ~u   .pypirc(   u   osu   pathu   joinu
   expanduser(   u   self(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   _get_rc_file&   s    u   PyPIRCCommand._get_rc_filec             C   s[   |  j  ƒ  } t j t j | t j t j Bd ƒ d ƒ  } | j t | | f ƒ Wd QXd S(   u   Creates a default .pypirc file.i€  u   wN(   u   _get_rc_fileu   osu   fdopenu   openu   O_CREATu   O_WRONLYu   writeu   DEFAULT_PYPIRC(   u   selfu   usernameu   passwordu   rcu   f(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   _store_pypirc*   s    .u   PyPIRCCommand._store_pypircc             C   s'  |  j  ƒ  } t j j | ƒ r#|  j d | ƒ |  j p> |  j } |  j pP |  j } t	 ƒ  } | j
 | ƒ | j ƒ  } d | k rœ| j d d ƒ } d d „  | j d ƒ Dƒ } | g  k rÚ d | k rÓ d g } qÚ i  Sn  xC| D]´ } i | d 6}	 | j | d	 ƒ |	 d	 <xd d
 |  j f d |  j f d f D]A \ }
 } | j | |
 ƒ rc| j | |
 ƒ |	 |
 <q,| |	 |
 <q,W|	 d | k s‘|	 d
 | k rá |	 Sqá Wq#d | k r#d } | j | d
 ƒ rÕ| j | d
 ƒ } n	 |  j } i | j | d	 ƒ d	 6| j | d ƒ d 6| d
 6| d 6|  j d 6Sn  i  S(   u   Reads the .pypirc file.u   Using PyPI login from %su	   distutilsu   index-serversc             S   s.   g  |  ]$ } | j  ƒ  d  k r | j  ƒ  ‘ q S(   u    (   u   strip(   u   .0u   server(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu
   <listcomp>>   s   	 u.   PyPIRCCommand._read_pypirc.<locals>.<listcomp>u   
u   pypiu   serveru   usernameu
   repositoryu   realmu   passwordu   server-loginN(   u   passwordN(   u   _get_rc_fileu   osu   pathu   existsu   announceu
   repositoryu   DEFAULT_REPOSITORYu   realmu   DEFAULT_REALMu   ConfigParseru   readu   sectionsu   getu   splitu   Noneu
   has_option(   u   selfu   rcu
   repositoryu   realmu   configu   sectionsu   index_serversu   _serversu   serveru   currentu   keyu   default(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   _read_pypirc0   sP    				u   PyPIRCCommand._read_pypircc             C   sP   d d l  } | j d d ƒ } | j | ƒ d j d d ƒ } | j ƒ  j | ƒ S(   u%   Read and decode a PyPI HTTP response.i    Nu   content-typeu
   text/plaini   u   charsetu   ascii(   u   cgiu	   getheaderu   parse_headeru   getu   readu   decode(   u   selfu   responseu   cgiu   content_typeu   encoding(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   _read_pypi_responseh   s    u!   PyPIRCCommand._read_pypi_responsec             C   s   d |  _ d |  _ d |  _ d S(   u   Initialize options.i    N(   u   Noneu
   repositoryu   realmu   show_response(   u   self(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   initialize_optionso   s    		u    PyPIRCCommand.initialize_optionsc             C   s@   |  j  d k r |  j |  _  n  |  j d k r< |  j |  _ n  d S(   u   Finalizes options.N(   u
   repositoryu   Noneu   DEFAULT_REPOSITORYu   realmu   DEFAULT_REALM(   u   self(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   finalize_optionsu   s    u   PyPIRCCommand.finalize_optionsN(   u   show-responseNu&   display full response text from server(   u   __name__u
   __module__u   __qualname__u   __doc__u   DEFAULT_REPOSITORYu   DEFAULT_REALMu   Noneu
   repositoryu   realmu   user_optionsu   boolean_optionsu   _get_rc_fileu   _store_pypircu   _read_pypircu   _read_pypi_responseu   initialize_optionsu   finalize_options(   u
   __locals__(    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   PyPIRCCommand   s"    		8u   PyPIRCCommand(   u   __doc__u   osu   configparseru   ConfigParseru   distutils.cmdu   Commandu   DEFAULT_PYPIRCu   PyPIRCCommand(    (    (    u5   /opt/alt/python33/lib64/python3.3/distutils/config.pyu   <module>   s
   
