Merge pull request #3 from adator85/dev

Vider le cache de pip
This commit is contained in:
adator
2024-01-02 18:32:42 +01:00
committed by GitHub

View File

@@ -53,8 +53,11 @@ class Install:
if not do_install: if not do_install:
return None return None
print("===> Vider le cache de pip")
check_call(['pip','cache','purge'])
print("===> Verifier si pip est a jour") print("===> Verifier si pip est a jour")
run(['python', '-m', 'pip', 'install', '--upgrade', 'pip']) check_call(['python', '-m', 'pip', 'install', '--upgrade', 'pip'])
if find_spec('greenlet') is None: if find_spec('greenlet') is None:
check_call(['pip','install', '--only-binary', ':all:', 'greenlet']) check_call(['pip','install', '--only-binary', ':all:', 'greenlet'])