Python venv
This commit is contained in:
		
							parent
							
								
									8666527ddc
								
							
						
					
					
						commit
						235e2b7402
					
				@ -206,7 +206,8 @@ debug() {
 | 
			
		||||
 | 
			
		||||
run() {
 | 
			
		||||
    packags=()
 | 
			
		||||
    python_packages=()
 | 
			
		||||
    python_packages=(pip)
 | 
			
		||||
    python_packages+=(venv)
 | 
			
		||||
 | 
			
		||||
    if [ $should_install_git -eq 1 ]; then
 | 
			
		||||
        packages+=(git)
 | 
			
		||||
@ -242,8 +243,10 @@ run() {
 | 
			
		||||
            packages+=(python3)
 | 
			
		||||
            packages+=(python-is-python3)
 | 
			
		||||
            packages+=(python3-pip)
 | 
			
		||||
            packages+=(python3-venv)
 | 
			
		||||
        elif [ $has_pacman -eq 1 ]; then
 | 
			
		||||
            packages+=(python)
 | 
			
		||||
            packages+=(python-venv)
 | 
			
		||||
        fi
 | 
			
		||||
 | 
			
		||||
    fi
 | 
			
		||||
@ -283,7 +286,7 @@ run() {
 | 
			
		||||
 | 
			
		||||
        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_TYPE=sliding" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh
 | 
			
		||||
            export UPDATE_CHECK=weekly
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user