mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/python: fix pip bootstrap
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user