ok

Mini Shell

Direktori : /lib64/python3.6/distutils/command/__pycache__/
Upload File :
Current File : //lib64/python3.6/distutils/command/__pycache__/clean.cpython-36.pyc

3


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

Implements the Distutils 'clean' command.�N)�Command)�remove_tree)�logc@s>eZdZdZddddddgZdgZdd�Zdd�Zdd�ZdS)�cleanz-clean up temporary files from 'build' command�build-base=�b�2base build directory (default: 'build.build-base')�
build-lib=N�<build directory for all modules (default: 'build.build-lib')�build-temp=�t�7temporary build directory (default: 'build.build-temp')�build-scripts=�<build directory for scripts (default: 'build.build-scripts')�bdist-base=�+temporary directory for built distributions�all�a�7remove all build output, not just temporary by-productscCs(d|_d|_d|_d|_d|_d|_dS)N)�
build_base�	build_lib�
build_temp�
build_scripts�
bdist_baser)�self�r�//usr/lib64/python3.6/distutils/command/clean.py�initialize_options szclean.initialize_optionscCs"|jddd	d
d�|jdd�dS)
NZbuildrrrrZbdistr)rr)rr)rr)rr)rr)Zset_undefined_options)rrrr�finalize_options(szclean.finalize_optionscCs�tjj|j�r t|j|jd�ntjd|j�|jrvx@|j	|j
|jfD],}tjj|�rft||jd�qFtjd|�qFW|js�ytj
|j�tjd|j�Wntk
r�YnXdS)N)�dry_runz%'%s' does not exist -- can't clean itz
removing '%s')�os�path�existsrrrr�debugrrrr�warn�rmdirr�info�OSError)rZ	directoryrrr�run1s$
z	clean.run)rrr)r	Nr
)rrr
)rNr)rNr)rrr)	�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr(rrrrrs"	r)	�__doc__r Zdistutils.corerZdistutils.dir_utilrZ	distutilsrrrrrr�<module>s


Zerion Mini Shell 1.0