@task<EOL>@needs(["<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"])<EOL>def release():
sh("<STR_LIT>")<EOL>wheels = path("<STR_LIT>").files("<STR_LIT>")<EOL>if not wheels:<EOL><INDENT>error("<STR_LIT>")<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>if any("<STR_LIT>" in i for i in wheels):<EOL><INDENT>error("<STR_LIT>")<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>print('<STR_LIT>')<EOL>print("<STR_LIT>" * <NUM_LIT>)<EOL>print("<STR_LIT>")<EOL>sh( "<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>% tuple([project["<STR_LIT:name>"], version] * <NUM_LIT:4>)<EOL>)<EOL>path("<STR_LIT>" % (project["<STR_LIT:name>"], version)).rmtree()<EOL>print("<STR_LIT>" * <NUM_LIT>)<EOL>print('<STR_LIT>')<EOL>print("<STR_LIT>", "<STR_LIT:U+0020>".join([str(i) for i in path("<STR_LIT>").listdir()]))<EOL>print("<STR_LIT>")<EOL>print("<STR_LIT>")<EOL>print("<STR_LIT>")<EOL>
check release before upload to PyPI