ok

Mini Shell

Direktori : /opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/clean.cpython-35.pyc



M�Ma�
�@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/python35/lib64/python3.5/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(s		zclean.finalize_optionscCs�tjj|j�r.t|jd|j�ntjd|j�|jr�xX|j	|j
|jfD]>}tjj|�r�t|d|j�qctjd|�qcW|js�y'tj
|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