Hacked By AnonymousFox
�
�܋f� � � � d dl mZ d dlmZ d dlmZ d dlZd dlZd dlZddlm Z ddl
mZ g d�Zdd
�Z
dd�Z G d
� de � � Z G d� de� � ZdS )� )�convert_path)�log)�DistutilsOptionErrorN� )�Command)�_cfg_read_utf8_with_fallback)�config_file�edit_config�option_base�setopt�localc �^ � | dk rdS | dk rGt j � t j � t j � � d� � S | dk rCt j dk rdpd}t j � t d |z � � � � S t d
| � � �)z�Get the filename of the distutils, local, global, or per-user config
`kind` must be one of "local", "global", or "user"
r
z setup.cfg�globalz
distutils.cfg�user�posix�.� z~/%spydistutils.cfgz7config_file() type must be 'local', 'global', or 'user')
�os�path�join�dirname� distutils�__file__�name�
expanduserr �
ValueError)�kind�dots �j/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/setuptools/command/setopt.pyr r s� � �
�w����{��x����w�|�|�B�G�O�O�I�,>�?�?��Q�Q�Q��v�~�~��g�� �(�S�.�B���w�!�!�,�/D�s�/J�"K�"K�L�L�L�
�N�PT�
U�
U�U� Fc � � t j d| � � t j � � }d� |_ t || � � |� � � D �]-\ }}|�,t j d|| � � |� |� � �4|� |� � s+t j d|| � � |�
|� � |� � � D ]�\ }}|�nt j d||| � � |� ||� � |� |� � s+t j d|| � � |� |� � �ut j d|||| � � |�
|||� � ����/t j d | � � |sBt | d
d�� � 5 }|� |� � ddd� � dS # 1 swxY w Y dS dS )
aY 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.
zReading configuration from %sc � � | S �N� )�xs r �<lambda>zedit_config.<locals>.<lambda>'