Sindbad~EG File Manager
�
SԚg�I � � � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddlm Z m
Z
ddlmZ ddl
mZmZ ddlmZ ddlmZ dd lmZ G d
� de� � Z G d� d
e � � Z G d� dej ej ej ej � � Z G d� dej ej ej � � Zedk r ej � � dS dS )zTests for distutils.dist.� N)�mock)�Distribution�fix_help_options)�Command)�captured_stdout�captured_stderr)�TESTFN)�support)�logc � � e Zd ZdZdgZd� ZdS )� test_distz#Sample distutils extension command.)zsample-option=�Sz help textc � � d | _ d S �N)�
sample_option��selfs �6/usr/local/lib/python3.11/distutils/tests/test_dist.py�initialize_optionsztest_dist.initialize_options s � �!����� N)�__name__�
__module__�__qualname__�__doc__�user_optionsr � r r r
r
s5 � � � � � �-�-� -��L�"� "� "� "� "r r
c � � e Zd ZdZd� ZdS )�TestDistributionz�Distribution subclasses that avoids the default search for
configuration files.
The ._config_files attribute must be set before
.parse_config_files() is called.
c � � | j S r )�
_config_filesr s r �find_config_filesz"TestDistribution.find_config_files) s � ��!�!r N)r r r r r! r r r r r ! s- � � � � � �� �"� "� "� "� "r r c �f � � e Zd Z� fd�Z� fd�Zdd�Zd� Zd� Zd� Zd� Z d � Z
d
� Zd� Zd� Z
d
� Z� xZS )�DistributionTestCasec � �� t t | � � � � � t j t j d d � f| _ t j dd �= d S )N� )�superr# �setUp�sys�argv�r � __class__s �r r'