Skip to content

Commit 7276036

Browse files
authored
BUGFIX
The autoupdater did not always prefer binary installations.
1 parent a1bec4c commit 7276036

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

update.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818

1919

2020
def install_requirements() -> subprocess.CompletedProcess:
21-
return subprocess.run([sys.executable, '-m', 'pip', 'install', '-r', 'requirements.txt'])
21+
return subprocess.run([
22+
sys.executable,
23+
'-m', 'pip', 'install', '--no-cache-dir', '--prefer-binary', '-r', 'requirements.txt'
24+
])
2225

2326

2427
def do_update_git() -> int:

0 commit comments

Comments
 (0)