lang/python: fix pip bootstrap
This commit is contained in:
parent
378469b15e
commit
f5ce4d40b7
1 changed files with 1 additions and 3 deletions
|
@ -20,7 +20,5 @@
|
|||
(when-let (pkgs (cl-remove-if
|
||||
(lambda (pkg) (zerop (shell-command (format "pip show %s" pkg))))
|
||||
'("jedi" "setuptools")))
|
||||
(funcall (if (file-writable-p (executable-find "pip")) 'sh 'sudo)
|
||||
"pip install %s"
|
||||
(string-join pkgs " "))
|
||||
(sh "pip install %s" (string-join pkgs " "))
|
||||
t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue