@@ -60,17 +60,17 @@ def shell(args, env=None, cwd=None):
60
60
61
61
# build the wheel to temp dir
62
62
temp_wheel_dir = '/tmp/tmpwheel%s' % config .version
63
- shell ([pip , 'wheel' , project_dir , '-w' , temp_wheel_dir , '--no-deps' ], env = env )
64
- temp_wheel = glob (temp_wheel_dir + '/*.whl' )[0 ]
63
+ shell ([pip , 'wheel' , project_dir , '-w' , temp_wheel_dir ], env = env )
65
64
66
- if temp_wheel .endswith ('none-any.whl' ):
67
- # pure python wheel - just copy to output_dir
68
- shell (['cp' , temp_wheel , output_dir ], env = env )
69
- else :
70
- # list the dependencies
71
- shell (['delocate-listdeps' , temp_wheel ], env = env )
72
- # rebuild the wheel with shared libraries included and place in output dir
73
- shell (['delocate-wheel' , '-w' , output_dir , temp_wheel ], env = env )
65
+ for temp_wheel in glob (temp_wheel_dir + '/*.whl' ):
66
+ if temp_wheel .endswith ('none-any.whl' ):
67
+ # pure python wheel - just copy to output_dir
68
+ shell (['cp' , temp_wheel , output_dir ], env = env )
69
+ else :
70
+ # list the dependencies
71
+ shell (['delocate-listdeps' , temp_wheel ], env = env )
72
+ # rebuild the wheel with shared libraries included and place in output dir
73
+ shell (['delocate-wheel' , '-w' , output_dir , temp_wheel ], env = env )
74
74
75
75
# install the wheel
76
76
shell ([pip , 'install' , package_name , '--no-index' , '--find-links' , output_dir ], env = env )
0 commit comments