관리-도구
편집 파일: setopt.cpython-311.pyc
� N�Dg? � � � d dl mZ d dlmZ d dlmZ d dlZd dlZd dlZd dlm Z g d�Z dd�Zdd �Z G d� de � � Z G d � de � � ZdS )� )�convert_path)�log)�DistutilsOptionErrorN)�Command)�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 �y/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/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� |_ |� | g� � |� � � D �]-\ }}|�,t j d|| � � |� |� � �4|� |� � s+t j d|| � � |� |� � |� � � D ]�\ }}|�nt j d||| � � |� ||� � |� |� � s+t j d|| � � |� |� � �ut j d|||| � � |� |||� � ����/t j d | � � |s@t | 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>&