@@ -58,9 +58,6 @@ def shell(args, env=None, cwd=None):
58
58
before_build_prepared = prepare_command (before_build , python = python , pip = pip )
59
59
shell (shlex .split (before_build_prepared ), env = env )
60
60
61
- # install the package first to take care of dependencies
62
- shell ([pip , 'install' , project_dir ], env = env )
63
-
64
61
# build the wheel to temp dir
65
62
temp_wheel_dir = '/tmp/tmpwheel%s' % config .version
66
63
shell ([pip , 'wheel' , project_dir , '-w' , temp_wheel_dir , '--no-deps' ], env = env )
@@ -76,8 +73,7 @@ def shell(args, env=None, cwd=None):
76
73
shell (['delocate-wheel' , '-w' , output_dir , temp_wheel ], env = env )
77
74
78
75
# now install the package from the generated wheel
79
- shell ([pip , 'install' , package_name , '--upgrade' , '--force-reinstall' ,
80
- '--no-deps' , '--no-index' , '--find-links' , output_dir ], env = env )
76
+ shell ([pip , 'install' , package_name , '--upgrade' , '--force-reinstall' , '-f' , output_dir ], env = env )
81
77
82
78
# test the wheel
83
79
if test_requires :
0 commit comments