We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7f105 commit 8618df3Copy full SHA for 8618df3
cibuildwheel/linux.py
@@ -59,9 +59,6 @@ def build(project_dir, package_name, output_dir, test_command, test_requires, be
59
PATH=$PYBIN:$PATH sh -c {before_build}
60
fi
61
62
- # install the package first to take care of dependencies
63
- "$PYBIN/pip" install .
64
-
65
"$PYBIN/pip" wheel --no-deps . -w /tmp/linux_wheels
66
done
67
@@ -77,8 +74,7 @@ def build(project_dir, package_name, output_dir, test_command, test_requires, be
77
74
# Install packages and test
78
75
for PYBIN in {pybin_paths}; do
79
76
# Install the wheel we just built
80
- "$PYBIN/pip" install {package_name} \
81
- --upgrade --force-reinstall --no-deps --no-index -f /output
+ "$PYBIN/pip" install {package_name} -f /output
82
83
# Install any requirements to run the tests
84
if [ ! -z "{test_requires}" ]; then
cibuildwheel/macos.py
@@ -58,9 +58,6 @@ def shell(args, env=None, cwd=None):
58
before_build_prepared = prepare_command(before_build, python=python, pip=pip)
shell(shlex.split(before_build_prepared), env=env)
- shell([pip, 'install', project_dir], env=env)
# build the wheel to temp dir
temp_wheel_dir = '/tmp/tmpwheel%s' % config.version
shell([pip, 'wheel', project_dir, '-w', temp_wheel_dir, '--no-deps'], env=env)
@@ -76,8 +73,7 @@ def shell(args, env=None, cwd=None):
73
shell(['delocate-wheel', '-w', output_dir, temp_wheel], env=env)
# now install the package from the generated wheel
- shell([pip, 'install', package_name, '--upgrade', '--force-reinstall',
- '--no-deps', '--no-index', '--find-links', output_dir], env=env)
+ shell([pip, 'install', package_name, '-f', output_dir], env=env)
# test the wheel
if test_requires:
cibuildwheel/windows.py
@@ -66,16 +66,11 @@ def shell(args, env=None, cwd=None):
before_build_prepared = prepare_command(before_build, python='python', pip='pip')
shell([before_build_prepared], env=env)
68
69
70
- shell(['pip', 'install', project_dir], env=env)
71
72
# build the wheel
shell(['pip', 'wheel', project_dir, '-w', output_dir, '--no-deps'], env=env)
# install the wheel
- shell(['pip', 'install', package_name, '--upgrade',
- '--force-reinstall', '--no-deps', '--no-index', '-f',
- output_dir], env=env)
+ shell(['pip', 'install', package_name, '-f', output_dir], env=env)
0 commit comments