Skip to content

Commit 7d25fbe

Browse files
committed
Force reinstall pre-built wheels when running install.py
1 parent 469bd32 commit 7d25fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: install.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def try_auto_build_all(builds_dir):
4343

4444
def install_local_wheels(builds_dir):
4545
for wheel_path in glob.glob(os.path.join(builds_dir, "**/*.whl"), recursive=True):
46-
subprocess.run([PYTHON_PATH, "-s", "-m", "pip", "install", wheel_path])
46+
subprocess.run([PYTHON_PATH, "-s", "-m", "pip", "install", "--no-deps", "--force-reinstall", wheel_path])
4747
cstr(f"pip install {wheel_path} to {PYTHON_PATH}").msg.print()
4848

4949
# Install packages that needs specify remote url

0 commit comments

Comments
 (0)