From 5da23342e68d05104f585a54e354c2c8cbea279f Mon Sep 17 00:00:00 2001 From: Tobias Schmidl <5060861-schtobia@users.noreply.gitlab.com> Date: Mon, 16 May 2022 12:30:14 +0000 Subject: [PATCH] Moved from pip to pipx for both user and root --- bootstrap-root.sh | 2 +- bootstrap-user.sh | 12 +++++++++++- requirements.txt | 7 ++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/bootstrap-root.sh b/bootstrap-root.sh index 3f7768c..0b4e24a 100755 --- a/bootstrap-root.sh +++ b/bootstrap-root.sh @@ -46,7 +46,7 @@ apt-get install -y nodejs # shellcheck disable=SC2086 curl $CURLOPT https://bootstrap.pypa.io/get-pip.py | python3 -pip install ranger-fm +pip install pipx [ ! -x "$(which exa)" ] && cargo install --root /usr/local --git https://github.com/ogham/exa --tag v0.10.1 diff --git a/bootstrap-user.sh b/bootstrap-user.sh index 41f3a4b..a5cb8ed 100755 --- a/bootstrap-user.sh +++ b/bootstrap-user.sh @@ -12,7 +12,17 @@ TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX) && \ git --git-dir="$HOME/.cfg/" --work-tree="$HOME" submodule update --init --remote --recursive --rebase) rm -rf "$TMPDIR" -pip install --user -r https://gitlab.com/schtobia/bootstrap/raw/master/requirements.txt +pip install --user -r https://gitlab.com/schtobia/bootstrap/raw/master/requirements.txt && +for package in \ + glances \ + kas \ + pygments \ + pylint \ + ranger_fm \ + watchdog; +do + pipx install $package +done # vim related nvim +PluginInstall +UpdateRemotePlugins +qall diff --git a/requirements.txt b/requirements.txt index ebc3bbc..da181cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,4 @@ -pygments +jedi +pipx https://github.com/shkumagai/pygments-style-solarized/archive/refs/tags/0.2.0.tar.gz -pylama -pylint pynvim -ranger_fm -watchdog