@@ -561,23 +561,21 @@ def source_to_wininst(fname, python_exe=None,
561
561
architecture = architecture , verbose = verbose )
562
562
563
563
564
- def wheel_pip_install (fname , python_exe = None ,
564
+ def direct_pip_install (fname , python_exe = None ,
565
565
architecture = None , verbose = False , install_options = None ):
566
- """direct install via pip !"""
566
+ """Direct install via pip !"""
567
567
copy_to = osp .dirname (fname )
568
568
569
569
if python_exe is None :
570
570
python_exe = sys .executable
571
571
assert osp .isfile (python_exe )
572
572
myroot = os .path .dirname (python_exe )
573
573
574
- # cmd = [python_exe, myroot + r'\Scripts\pip-script.py', 'install']
575
574
cmd = [python_exe , '-m' , 'pip' , 'install' ]
576
575
if install_options :
577
576
cmd += install_options # typically ['--no-deps']
578
- print ('wheel install_options' , install_options )
577
+ print ('pip install_options' , install_options )
579
578
cmd += [fname ]
580
- # print('build_wheel', myroot, cmd)
581
579
582
580
if verbose :
583
581
subprocess .call (cmd , cwd = myroot )
0 commit comments