def ci(python="<STR_LIT>", codecov="<STR_LIT>", coverage_file="<STR_LIT>", wheel=True):
<EOL>from pip import __version__ as pip_version<EOL>if Version(pip_version) >= Version("<STR_LIT>"):<EOL><INDENT>import pip._internal as pip<EOL><DEDENT>else:<EOL><INDENT>import pip<EOL><DEDENT>pip.main(["<STR_LIT>"] + DEPENDENCIES + REQUIREMENTS + ["<STR_LIT>"])<EOL>if wheel is True:<EOL><INDENT>build_and_install_wheel(python)<EOL>for to_delete in TO_DELETE:<EOL><INDENT>rmtree(to_delete)<EOL><DEDENT><DEDENT>return_code = run_command("<STR_LIT>".format(python))<EOL>if return_code != <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL>exit(return_code)<EOL><DEDENT>print("<STR_LIT>")<EOL>return_code = run_command("<STR_LIT>".format(codecov, coverage_file))<EOL>if return_code != <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL>exit(return_code)<EOL><DEDENT>exit(<NUM_LIT:0>)<EOL>
Run the most common CI tasks