import argparse import subprocess import requests def download_wheel(args): if not args.wheel_path.startswith(('http://', 'https://')): args.wheel_path = 'https://' + args.wheel_path res = requests.get(args.wheel_path) if res.status_code != 200: print(f"Fail to get the result of {args.wheel_path}") exit(1) wheel_name = None for line in res.text.split("\n"): if not line.startswith("