Use pip per-user
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 1 May 2020 00:57:25 +0000 (20:57 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 1 May 2020 00:58:27 +0000 (20:58 -0400)
rather than per-machine

Makefile

index e576ff7..d204943 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,8 @@ endif
     pkgs_deb_purge \
     pkgs_debian \
     pkgs_mac \
-    pkgs_pip \
+    pkgs_pip_install \
+    pkgs_pip_upgrade \
     pkgs_snap_classic \
     pkgs_snap_strict
 
@@ -82,8 +83,11 @@ pkgs_ubuntu_debfiles: list pkgs-ubuntu-debfiles.list
 #
 # PIP
 #
-pkgs_pip:
-       sudo pip3 install $(shell ./list pkgs-pip.list)
+pkgs_pip_install:
+       pip3 install --user $(shell ./list pkgs-pip.list)
+
+pkgs_pip_upgrade:
+       pip3 install --user --upgrade $(shell ./list pkgs-pip.list)
 
 #
 # Rust (cargo)
This page took 0.020085 seconds and 4 git commands to generate.