Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/distutils/command/clean.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@sbdZdZddlZddlmZddlmZddlmZdefd��YZ	dS(	sBdistutils.command.clean

Implements the Distutils 'clean' command.s$Id$i�N(tCommand(tremove_tree(tlogtcleancBsJeZdZddddddgZd
gZd�Zd�Zd�ZRS(s-clean up temporary files from 'build' commandsbuild-base=tbs2base build directory (default: 'build.build-base')s
build-lib=s<build directory for all modules (default: 'build.build-lib')sbuild-temp=tts7temporary build directory (default: 'build.build-temp')sbuild-scripts=s<build directory for scripts (default: 'build.build-scripts')sbdist-base=s+temporary directory for built distributionstalltas7remove all build output, not just temporary by-productscCs:d|_d|_d|_d|_d|_d|_dS(N(tNonet
build_baset	build_libt
build_tempt
build_scriptst
bdist_baseR(tself((s-/sys/lib/python2.7/distutils/command/clean.pytinitialize_options"s					cCs-|jddd	d
d�|jdd�dS(
NtbuildR	R
RRtbdistR
(s
build_bases
build_base(s	build_libs	build_lib(s
build_scriptss
build_scripts(s
build_temps
build_temp(s
bdist_bases
bdist_base(tset_undefined_options(R((s-/sys/lib/python2.7/distutils/command/clean.pytfinalize_options*s		cCs�tjj|j�r.t|jd|j�ntjd|j�|jr�x[|j	|j
|jfD]>}tjj|�r�t|d|j�qctjd|�qcWn|js�'tj
|j�tjd|j�Wq�tk
r�q�ndS(Ntdry_runs%'%s' does not exist -- can't clean its
removing '%s'(tostpathtexistsRRRRtdebugRR
R
RtwarntrmdirR	tinfotOSError(Rt	directory((s-/sys/lib/python2.7/distutils/command/clean.pytrun3s$	
				
(sbuild-base=Rs2base build directory (default: 'build.build-base')N(s
build-lib=Ns<build directory for all modules (default: 'build.build-lib')(sbuild-temp=Rs7temporary build directory (default: 'build.build-temp')(sbuild-scripts=Ns<build directory for scripts (default: 'build.build-scripts')(sbdist-base=Ns+temporary directory for built distributions(sallRs7remove all build output, not just temporary by-products(	t__name__t
__module__tdescriptionRtuser_optionstboolean_optionsRRR(((s-/sys/lib/python2.7/distutils/command/clean.pyRs"					(
t__doc__t__revision__Rtdistutils.coreRtdistutils.dir_utilRt	distutilsRR(((s-/sys/lib/python2.7/distutils/command/clean.pyt<module>s

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.