Python venv

This commit is contained in:
Thomas Forgione 2025-05-03 00:11:56 +02:00
parent 8666527ddc
commit 235e2b7402

View File

@ -206,7 +206,8 @@ debug() {
run() { run() {
packags=() packags=()
python_packages=() python_packages=(pip)
python_packages+=(venv)
if [ $should_install_git -eq 1 ]; then if [ $should_install_git -eq 1 ]; then
packages+=(git) packages+=(git)
@ -242,8 +243,10 @@ run() {
packages+=(python3) packages+=(python3)
packages+=(python-is-python3) packages+=(python-is-python3)
packages+=(python3-pip) packages+=(python3-pip)
packages+=(python3-venv)
elif [ $has_pacman -eq 1 ]; then elif [ $has_pacman -eq 1 ]; then
packages+=(python) packages+=(python)
packages+=(python-venv)
fi fi
fi fi
@ -283,7 +286,7 @@ run() {
if [ $should_install_update_remainder -eq 1 ]; then if [ $should_install_update_remainder -eq 1 ]; then
echo "# Checks that the update is done weekly, if its not done, prints a nice message" > $HOME/.config/dotfiles/zsh/extraconfig.zsh echo "# Checks that the update is done weekly, if its not done, prints a nice message" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh
echo "export UPDATE_CHECK=weekly" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh echo "export UPDATE_CHECK=weekly" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh
echo "export UPDATE_CHECK_TYPE=sliding" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh echo "export UPDATE_CHECK_TYPE=sliding" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh
export UPDATE_CHECK=weekly export UPDATE_CHECK=weekly