From 72295f19c63c5c26362845560d200e19010ebd84 Mon Sep 17 00:00:00 2001 From: eduard6 Date: Sun, 30 Apr 2017 20:38:13 -0400 Subject: [PATCH] Upgrade packages if needed (for example after getting latest git commits). Tested working with new install too --- setupall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupall.py b/setupall.py index b6d1d2a..b9c5957 100644 --- a/setupall.py +++ b/setupall.py @@ -38,5 +38,5 @@ if mode not in packages: for x in packages[mode]: dirtorun = os.path.join(curdir, x) - p = subprocess.Popen(['pip', 'install', '.'], cwd=dirtorun) + p = subprocess.Popen(['pip', 'install', '--upgrade', '--upgrade-strategy=only-if-needed', '.'], cwd=dirtorun) p.wait()