@easy.task<EOL>@easy.cmdopts([<EOL>('<STR_LIT>', '<STR_LIT:s>', '<STR_LIT>'),<EOL>])<EOL>@easy.needs("<STR_LIT>")<EOL>def clean():
src_dir = easy.options.setdefault("<STR_LIT>", {}).get('<STR_LIT>', None)<EOL>if src_dir is None:<EOL><INDENT>src_dir = '<STR_LIT:src>' if easy.path('<STR_LIT:src>').exists() else '<STR_LIT:.>'<EOL><DEDENT>with easy.pushd(src_dir):<EOL><INDENT>for pkg in set(easy.options.setup.packages) | set(("<STR_LIT>",)):<EOL><INDENT>for filename in glob.glob(pkg.replace('<STR_LIT:.>', os.sep) + "<STR_LIT>"):<EOL><INDENT>easy.path(filename).remove()<EOL><DEDENT><DEDENT><DEDENT>
take out the trash