1""" 2In order to support installation of pep517 from source, 3pip from master must be installed. 4""" 5 6import subprocess 7import sys 8 9 10def main(): 11 cmd = [ 12 sys.executable, 13 '-m', 'pip', 'install', 14 'git+https://github.com/pypa/pip', 15 ] 16 subprocess.run(cmd) 17 cmd[-1:] = sys.argv[1:] 18 subprocess.run(cmd) 19 20 21__name__ == '__main__' and main() 22