AlkantarClanX12

Your IP : 18.188.113.189


Current Path : /proc/self/root/usr/lib64/python3.8/distutils/command/__pycache__/
Upload File :
Current File : //proc/self/root/usr/lib64/python3.8/distutils/command/__pycache__/clean.cpython-38.opt-1.pyc

U

e5d�
�@sDdZddlZddlmZddlmZddlmZGdd�de�ZdS)zBdistutils.command.clean

Implements the Distutils 'clean' command.�N)�Command)�remove_tree)�logc@s>eZdZdZddddddgZdgZd	d
�Zdd�Zd
d�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-productsrcCs(d|_d|_d|_d|_d|_d|_dS)N)�
build_base�	build_lib�
build_temp�
build_scripts�
bdist_baser��self�r�//usr/lib64/python3.8/distutils/command/clean.py�initialize_options szclean.initialize_optionscCs"|�ddddd�|�dd�dS)NZbuild)r
r
)rr)r
r
)rrZbdist)rr)Zset_undefined_optionsrrrr�finalize_options(s��zclean.finalize_optionscCs�tj�|j�r t|j|jd�nt�d|j�|jrr|j	|j
|jfD],}tj�|�rdt||jd�qDt�d|�qD|js�zt�
|j�t�d|j�Wntk
r�YnXdS)N)�dry_runz%'%s' does not exist -- can't clean itz
removing '%s')�os�path�existsrrrr�debugrrrr
�warn�rmdirr
�info�OSError)rZ	directoryrrr�run1s*���z	clean.runN)	�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrrrrrrrs�	r)	�__doc__rZdistutils.corerZdistutils.dir_utilrZ	distutilsrrrrrr�<module>s