Hacked By AnonymousFox
�
c��f�
� �R � d Z ddlZddlmZ ddlmZ ddlmZ G d� de� � ZdS )zBdistutils.command.clean
Implements the Distutils 'clean' command.� N)�Command)�remove_tree)�logc �2 � e Zd ZdZg d�ZdgZd� Zd� Zd� ZdS )�cleanz-clean up temporary files from 'build' command))zbuild-base=�bz2base build directory (default: 'build.build-base'))z
build-lib=Nz<build directory for all modules (default: 'build.build-lib'))zbuild-temp=�tz7temporary build directory (default: 'build.build-temp'))zbuild-scripts=Nz<build directory for scripts (default: 'build.build-scripts'))zbdist-base=Nz+temporary directory for built distributions)�all�az7remove all build output, not just temporary by-productsr
c �Z � d | _ d | _ d | _ d | _ d | _ d | _ d S )N)�
build_base� build_lib�
build_temp�
build_scripts�
bdist_baser
��selfs �>/opt/alt/python311/lib64/python3.11/distutils/command/clean.py�initialize_optionszclean.initialize_options s1 � ����������!����������� c �d � | � ddddd� � | � dd� � d S )N�build)r
r
)r r )r r )r r �bdist)r r )�set_undefined_optionsr s r �finalize_optionszclean.finalize_options( sY � ��"�"�7�#?�#=�#E�#?� A� A� A�
�"�"�7�#?� A� A� A� A� Ar c �( � t j � | j � � rt | j | j �� � nt
j d| j � � | j rb| j | j
| j fD ]M}t j � |� � rt || j �� � �8t
j d|� � �N| j sG t j
| j � � t
j d| j � � d S # t $ r Y d S w xY wd S )N)�dry_runz%'%s' does not exist -- can't clean itz
removing '%s')�os�path�existsr r r r �debugr
r r r �warn�rmdirr
�info�OSError)r � directorys r �runz clean.run1 s7 � � �7�>�>�$�/�*�*� '������>�>�>�>�>��I�=��o�
'�
'�
'� �8� (�"�n�"�o�"�0�2�
(�
(� � �7�>�>�)�,�,� (�� �4�<�@�@�@�@�@��H�D�&�(� (� (� (�
�|� �
�����)�)�)����$�/�:�:�:�:�:���
�
�
����
���� � s �3D �
D�DN) �__name__�
__module__�__qualname__�description�user_options�boolean_optionsr r r'