Skip to content

Commit 08eb950

Browse files
committed
Tying to solve problem with multiple .whl files due to dependencies in package by adding '--no-deps' to the 'pip wheel' step in OS X
1 parent f734bff commit 08eb950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cibuildwheel/macos.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def shell(args, env=None, cwd=None):
6060

6161
# build the wheel to temp dir
6262
temp_wheel_dir = '/tmp/tmpwheel%s' % config.version
63-
shell([pip, 'wheel', project_dir, '-w', temp_wheel_dir], env=env)
63+
shell([pip, 'wheel', project_dir, '--no-deps', '-w', temp_wheel_dir], env=env)
6464
temp_wheel = glob(temp_wheel_dir+'/*.whl')[0]
6565

6666
if temp_wheel.endswith('none-any.whl'):
@@ -73,7 +73,7 @@ def shell(args, env=None, cwd=None):
7373
shell(['delocate-wheel', '-w', output_dir, temp_wheel], env=env)
7474

7575
# install the wheel
76-
shell([pip, 'install', package_name, '--no-index', '--find-links', output_dir], env=env)
76+
shell([pip, 'install', package_name, '--find-links', output_dir], env=env)
7777

7878
# test the wheel
7979
if test_requires:

0 commit comments

Comments
 (0)