9 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			238 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
cd "$OLDPWD"
 | 
						|
 | 
						|
if test -f .venv/bin/python && test "$(realpath .venv/bin/python)" != "$(realpath "$(pyenv which python)")"
 | 
						|
then
 | 
						|
  echo "rebuilding venv für new python version"
 | 
						|
  rm -rf .venv .pip_upgrade_timestamp
 | 
						|
fi
 |