mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	Prefer pyvenv instead of virtualenv for Python 3.3+
This commit is contained in:
		
							parent
							
								
									1e6069e20e
								
							
						
					
					
						commit
						0da94fbf58
					
				
					 2 changed files with 12 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -57,22 +57,22 @@ Python's `pip` also works:
 | 
			
		|||
 | 
			
		||||
	sudo pip3 install fdroidserver
 | 
			
		||||
 | 
			
		||||
The combination of `virtualenv` and `pip` is great for testing out the
 | 
			
		||||
The combination of `pyvenv` and `pip` is great for testing out the
 | 
			
		||||
latest versions of `fdroidserver`. Using `pip`, `fdroidserver` can
 | 
			
		||||
even be installed straight from git. First, make sure you have
 | 
			
		||||
installed the python header files, virtualenv and pip. They should be
 | 
			
		||||
installed the python header files, venv and pip. They should be
 | 
			
		||||
included in your OS's default package manager or you can install them
 | 
			
		||||
via other mechanisms like Brew/dnf/pacman/emerge/Fink/MacPorts.
 | 
			
		||||
 | 
			
		||||
For Debian based distributions:
 | 
			
		||||
 | 
			
		||||
	apt-get install python3-dev python3-pip libjpeg-dev zlib1g-dev virtualenv
 | 
			
		||||
	apt-get install python3-dev python3-pip python3-venv libjpeg-dev zlib1g-dev
 | 
			
		||||
 | 
			
		||||
Then here's how to install:
 | 
			
		||||
 | 
			
		||||
	git clone https://gitlab.com/fdroid/fdroidserver.git
 | 
			
		||||
	cd fdroidserver
 | 
			
		||||
	virtualenv env/
 | 
			
		||||
	pyvenv env/
 | 
			
		||||
	source env/bin/activate
 | 
			
		||||
	pip3 install -e .
 | 
			
		||||
	python3 setup.py install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue