Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/lib/python/distutils/command/clean.pyc

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


�
��c@sbdZdZddkZddklZddklZddklZdefd��YZ	dS(	sBdistutils.command.clean

Implements the Distutils 'clean' command.s1$Id: clean.py 38532 2005-03-03 08:12:27Z loewis $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/python/distutils/command/clean.pytinitialize_options$s					cCs-|iddd	d
d�|idd�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/python/distutils/command/clean.pytfinalize_options,s		cCs�tii|i�ot|id|i�ntid|i�|ioax^|i	|i
|ifD]@}tii|�ot|d|i�qftid|�qfWn|ipAy'ti
|i�tid|i�Wq�j
oq�ndS(Ntdry_runs%'%s' does not exist -- can't clean its
removing '%s'(tostpathtexistsRRRRtdebugRR
R
RtwarntrmdirR	tinfotOSError(Rt	directory((s*/sys/lib/python/distutils/command/clean.pytrun5s&	

	
	
(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/python/distutils/command/clean.pyRs"					(
t__doc__t__revision__Rtdistutils.coreRtdistutils.dir_utilRt	distutilsRR(((s*/sys/lib/python/distutils/command/clean.pys<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.