Skip to content

Commit

Permalink
Add python3 and pipx by default
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Apr 27, 2024
1 parent 4e9cd93 commit 6f4d266
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/dot_local/bin/executable_full-upgrade.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ if command -v gnome-shell-extension-installer >/dev/null; then
c gnome-shell-extension-installer --update --yes
fi

if pipx --version >/dev/null; then
log_task "Updating pipx packages"
c pipx upgrade-all
fi

if volta --version &>/dev/null; then
log_task "Updating node, npm and yarn with volta"
c volta install node npm yarn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ readonly wanted_packages=(
zip
git
jq
python3
# {{ if eq .chezmoi.osRelease.versionCodename "focal" }}
# pipx doesn't work otherwise
python3-venv
# {{ end }}
pipx
docker-ce
docker-ce-cli
containerd.io
Expand Down Expand Up @@ -53,6 +59,7 @@ readonly wanted_packages=(
missing_packages=()

for package in "${wanted_packages[@]}"; do
# shellcheck disable=SC2310
if ! is_apt_package_installed "${package}"; then
missing_packages+=("${package}")
fi
Expand Down

0 comments on commit 6f4d266

Please sign in to comment.