@@ -561,23 +561,21 @@ def source_to_wininst(fname, python_exe=None,
561561 architecture = architecture , verbose = verbose )
562562
563563
564- def wheel_pip_install (fname , python_exe = None ,
564+ def direct_pip_install (fname , python_exe = None ,
565565 architecture = None , verbose = False , install_options = None ):
566- """direct install via pip !"""
566+ """Direct install via pip !"""
567567 copy_to = osp .dirname (fname )
568568
569569 if python_exe is None :
570570 python_exe = sys .executable
571571 assert osp .isfile (python_exe )
572572 myroot = os .path .dirname (python_exe )
573573
574- # cmd = [python_exe, myroot + r'\Scripts\pip-script.py', 'install']
575574 cmd = [python_exe , '-m' , 'pip' , 'install' ]
576575 if install_options :
577576 cmd += install_options # typically ['--no-deps']
578- print ('wheel install_options' , install_options )
577+ print ('pip install_options' , install_options )
579578 cmd += [fname ]
580- # print('build_wheel', myroot, cmd)
581579
582580 if verbose :
583581 subprocess .call (cmd , cwd = myroot )
0 commit comments