mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	Tweaked bootstrap script so it works on Ubuntu
Ubuntu 13.04 doesn't have the pyvenv command. Instead, it's pyvenv-3.3. Replaced pyvenv with python3 -m venv.
This commit is contained in:
		
							parent
							
								
									3e2249bf89
								
							
						
					
					
						commit
						2364e44707
					
				@ -1,11 +1,11 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
command -v pyvenv >/dev/null 2>&1 || { echo >&2 "Python 3.3 required. Install it and try again. Aborting"; exit 1; }
 | 
			
		||||
command -v python3 -m venv >/dev/null 2>&1 || { echo >&2 "Python 3.3 required. Install it and try again. Aborting"; exit 1; }
 | 
			
		||||
 | 
			
		||||
if [ ! -d "env" ]; then
 | 
			
		||||
    echo "No virtualenv. Creating one"
 | 
			
		||||
    command -v curl >/dev/null 2>&1 || { echo >&2 "curl required. Install it and try again. Aborting"; exit 1; }
 | 
			
		||||
    pyvenv --system-site-packages env
 | 
			
		||||
    python3 -m venv --system-site-packages env
 | 
			
		||||
    source env/bin/activate
 | 
			
		||||
    curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | python
 | 
			
		||||
    easy_install pip
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user