<!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>

ΰReΜ  c               @   s²   d  d l  Z  d  d l Z d  d l m Z d  d l m Z d  d l  m Z d  d l Td d d d	 g Z d
 d d  Z	 d d d  Z Gd d   d e  Z Gd d	   d	 e  Z d S(   i    N(   u   Command(   u   convert_path(   u   log(   u   *u   config_fileu   edit_configu   option_baseu   setoptu   localc             C   s   |  d k r d S|  d k r> t  j j t  j j t j  d  S|  d k r t  j d k r_ d pb d } t  j j t d	 |   St	 d
 |    d S(   u   Get the filename of the distutils, local, global, or per-user config

    `kind` must be one of "local", "global", or "user"
    u   localu	   setup.cfgu   globalu   distutils.cfgu   useru   posixu   .u    u   ~/%spydistutils.cfgu7   config_file() type must be 'local', 'global', or 'user'N(
   u   osu   pathu   joinu   dirnameu	   distutilsu   __file__u   nameu
   expanduseru   convert_pathu
   ValueError(   u   kindu   dot(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   config_file
   s    	c       
      C   s­  d d l  m } t j d |   | j   } | j |  g  x+| j   D]\ } } | d k r t j d | |   | j	 |  qI | j
 |  sΆ t j d | |   | j |  n  x­ | j   D] \ } } | d k r6t j d | | |   | j | |  | j |  sbt j d | |   | j	 |  qbqΓ t j d | | | |   | j | | |  qΓ WqI Wt j d	 |   | s©t |  d
  }	 | j |	  |	 j   n  d S(   uY  Edit a configuration file to include `settings`

    `settings` is a dictionary of dictionaries or ``None`` values, keyed by
    command/section name.  A ``None`` value means to delete the entire section,
    while a dictionary lists settings to be changed or deleted in that section.
    A setting of ``None`` means to delete that setting.
    i    (   u   ConfigParseru   Reading configuration from %su   Deleting section [%s] from %su   Adding new section [%s] to %su   Deleting %s.%s from %su#   Deleting empty [%s] section from %su   Setting %s.%s to %r in %su
   Writing %su   wN(   u   setuptools.compatu   ConfigParseru   logu   debugu   RawConfigParseru   readu   itemsu   Noneu   infou   remove_sectionu   has_sectionu   add_sectionu   remove_optionu   optionsu   setu   openu   writeu   close(
   u   filenameu   settingsu   dry_runu   ConfigParseru   optsu   sectionu   optionsu   optionu   valueu   f(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   edit_config*   s:    		
  c             B   sM   |  Ee  Z d  Z d Z d d d g Z d d g Z d d   Z d d   Z d S(   u   option_baseu<   Abstract base class for commands that mess with config filesu   global-configu   gu0   save options to the site-wide distutils.cfg fileu   user-configu   uu7   save options to the current user's pydistutils.cfg fileu	   filename=u   fu-   configuration file to use (default=setup.cfg)c             C   s   d  |  _ d  |  _ d  |  _ d  S(   N(   u   Noneu   global_configu   user_configu   filename(   u   self(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   initialize_optionsc   s    		u   option_base.initialize_optionsc             C   sΆ   g  } |  j  r% | j t d   n  |  j rD | j t d   n  |  j d  k	 rf | j |  j  n  | s | j t d   n  t |  d k r¦ t d |   n  | \ |  _ d  S(   Nu   globalu   useru   locali   u/   Must specify only one configuration file option(   u   global_configu   appendu   config_fileu   user_configu   filenameu   Noneu   lenu   DistutilsOptionError(   u   selfu	   filenames(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   finalize_optionsh   s    		u   option_base.finalize_optionsN(   u   global-configu   gu0   save options to the site-wide distutils.cfg file(   u   user-configu   uu7   save options to the current user's pydistutils.cfg file(   u	   filename=u   fu-   configuration file to use (default=setup.cfg)(   u   __name__u
   __module__u   __qualname__u   __doc__u   user_optionsu   boolean_optionsu   initialize_optionsu   finalize_options(   u
   __locals__(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   option_baseS   s      	c             B   sm   |  Ee  Z d  Z d Z d Z d d d d g e j Z e j d g Z d d   Z d d   Z	 d d   Z
 d S(   u   setoptu#   Save command-line options to a fileu1   set an option in setup.cfg or another config fileu   command=u   cu   command to set an option foru   option=u   ou   option to setu
   set-value=u   su   value of the optionu   removeu   ru   remove (unset) the valuec             C   s5   t  j |   d  |  _ d  |  _ d  |  _ d  |  _ d  S(   N(   u   option_baseu   initialize_optionsu   Noneu   commandu   optionu	   set_valueu   remove(   u   self(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   initialize_options   s
    			u   setopt.initialize_optionsc             C   sf   t  j |   |  j d  k s+ |  j d  k r: t d   n  |  j d  k rb |  j rb t d   n  d  S(   Nu%   Must specify --command *and* --optionu$   Must specify --set-value or --remove(   u   option_baseu   finalize_optionsu   commandu   Noneu   optionu   DistutilsOptionErroru	   set_valueu   remove(   u   self(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   finalize_options   s
    u   setopt.finalize_optionsc             C   s=   t  |  j i i |  j |  j j d d  6|  j 6|  j  d  S(   Nu   -u   _(   u   edit_configu   filenameu	   set_valueu   optionu   replaceu   commandu   dry_run(   u   self(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   run   s    	#u
   setopt.runN(   u   command=u   cu   command to set an option for(   u   option=u   ou   option to set(   u
   set-value=u   su   value of the option(   u   removeu   ru   remove (unset) the value(   u   __name__u
   __module__u   __qualname__u   __doc__u   descriptionu   option_baseu   user_optionsu   boolean_optionsu   initialize_optionsu   finalize_optionsu   run(   u
   __locals__(    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   setopt|   s   
F(   u	   distutilsu   osu
   setuptoolsu   Commandu   distutils.utilu   convert_pathu   logu   distutils.errorsu   __all__u   config_fileu   Falseu   edit_configu   option_baseu   setopt(    (    (    u2   /tmp/pip-k8wh6o-build/setuptools/command/setopt.pyu   <module>   s   
 ))