@task(help=dict(<EOL>devpi="<STR_LIT>",<EOL>egg="<STR_LIT>",<EOL>wheel="<STR_LIT>",<EOL>auto="<STR_LIT>",<EOL>))<EOL>def dist(ctx, devpi=False, egg=False, wheel=False, auto=True):
config.load()<EOL>cmd = ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]<EOL>if auto:<EOL><INDENT>egg = sys.version_info.major == <NUM_LIT:2><EOL>try:<EOL><INDENT>import wheel as _<EOL>wheel = True<EOL><DEDENT>except ImportError:<EOL><INDENT>wheel = False<EOL><DEDENT><DEDENT>if egg:<EOL><INDENT>cmd.append("<STR_LIT>")<EOL><DEDENT>if wheel:<EOL><INDENT>cmd.append("<STR_LIT>")<EOL><DEDENT>ctx.run("<STR_LIT>")<EOL>ctx.run('<STR_LIT:U+0020>'.join(cmd))<EOL>if devpi:<EOL><INDENT>ctx.run("<STR_LIT>")<EOL><DEDENT>
Distribute the project.