Your IP : 3.129.211.190


Current Path : /opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/clean.cpython-34.pyc

�
i f�
�@s\dZddlZddlmZddlmZddlmZGdd�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�</opt/alt/python34/lib64/python3.4/distutils/command/clean.py�initialize_options s					zclean.initialize_optionscCs-|jddd	d
d�|jdd�dS)
NZbuildrrrrZbdistr)�
build_baser)�	build_libr)�
build_scriptsr )�
build_tempr!)�
bdist_baser")Zset_undefined_options)rrrr�finalize_options(s		zclean.finalize_optionscCs�tjj|j�r.t|jd|j�ntjd|j�|jr�x[|j	|j
|jfD]>}tjj|�r�t|d|j�qctjd|�qcWn|js�y'tj
|j�tjd|j�Wq�tk
r�Yq�XndS)N�dry_runz%'%s' does not exist -- can't clean itz
removing '%s')�os�path�existsrrr$r�debugrrrr�warn�rmdirr�info�OSError)rZ	directoryrrr�run1s$	
				
z	clean.run)rrr)r	Nr
)rrr
)rNr)rNr)zallrr)	�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrr#r-rrrrrs"			r)	�__doc__r%Zdistutils.corerZdistutils.dir_utilrZ	distutilsrrrrrr�<module>s


?>