Commit c182abae authored by Jason R. Coombs's avatar Jason R. Coombs

Extract main function

parent f8088e8d
......@@ -91,7 +91,7 @@ def install_deps():
shutil.rmtree(tmpdir)
if __name__ == '__main__':
def main():
parser = argparse.ArgumentParser(description='bootstrap setuptools')
parser.add_argument(
'--skip-dep-install', action='store_true',
......@@ -104,3 +104,6 @@ if __name__ == '__main__':
else:
with install_deps():
run_egg_info()
__name__ == '__main__' and main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment