#NEWLINE# def clean( ) : #NEWLINE# #INDENT# puts ( '* Cleaning Repo' ) #NEWLINE# directories = [ '.tox' , 'SoftLayer.egg-info' , 'build' , 'dist' ] #NEWLINE# for directory in directories : #NEWLINE# #INDENT# if ( os . path . exists ( directory ) and os . path . isdir ( directory ) ) : #NEWLINE# #INDENT# shutil . rmtree ( directory )