f P ddlZddlmZddlmZddlmZGddeZdS)N)Command) remove_tree)logc2eZdZdZgdZdgZdZdZdZdS)cleanz-clean up temporary files from 'build' command))z build-base=bz2base build directory (default: 'build.build-base'))z build-lib=Nz/opt/alt/python311/lib64/python3.11/distutils/command/clean.pyinitialize_optionszclean.initialize_options s1!cd|ddddd|dddS)Nbuild)r r )rr)rr)rrbdist)rr)set_undefined_optionsrs rfinalize_optionszclean.finalize_options(sY ""7#?#=#E#?  A A A ""7#? A A A A Arc(tj|jrt |j|jnt jd|j|jrb|j |j |j fD]M}tj|rt ||j8t j d|N|jsG tj |jt jd|jdS#t $rYdSwxYwdS)N)dry_runz%'%s' does not exist -- can't clean itz removing '%s')ospathexistsrrrrdebugr rrrwarnrmdirr infoOSError)r directorys rrunz clean.run1s7 7>>$/ * * '  > > > > > I=o ' ' ' 8 ("n"o"02 ( ( 7>>),,( 4<@@@@@HD&(((( |  )))$/:::::       s 3D DDN) __name__ __module__ __qualname__ description user_optionsboolean_optionsrrr'rrrr scAK   LgOAAArr)rdistutils.corerdistutils.dir_utilr distutilsrrr.rrr2s-  """"""******@@@@@G@@@@@r