mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	Switch README and docs to indicate python 3
This commit is contained in:
		
							parent
							
								
									74197a9a2d
								
							
						
					
					
						commit
						3371aa2116
					
				
					 2 changed files with 6 additions and 9 deletions
				
			
		
							
								
								
									
										11
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -23,8 +23,7 @@ install, and keep track of updates on your device.
 | 
			
		|||
 | 
			
		||||
### Installing
 | 
			
		||||
 | 
			
		||||
Note that only Python 2 is supported. We recommend version 2.7.7 or
 | 
			
		||||
later.
 | 
			
		||||
Note that only Python 3 is supported. We recommend version 3.4 or later.
 | 
			
		||||
 | 
			
		||||
The easiest way to install the `fdroidserver` tools is on Ubuntu, Mint or other
 | 
			
		||||
Ubuntu based distributions, you can install using:
 | 
			
		||||
| 
						 | 
				
			
			@ -56,7 +55,7 @@ or Cygwin, you can use it:
 | 
			
		|||
 | 
			
		||||
Python's `pip` also works:
 | 
			
		||||
 | 
			
		||||
	sudo pip install fdroidserver
 | 
			
		||||
	sudo pip3 install fdroidserver
 | 
			
		||||
 | 
			
		||||
The combination of `virtualenv` and `pip` is great for testing out the
 | 
			
		||||
latest versions of `fdroidserver`. Using `pip`, `fdroidserver` can
 | 
			
		||||
| 
						 | 
				
			
			@ -67,7 +66,7 @@ via other mechanisms like Brew/dnf/pacman/emerge/Fink/MacPorts.
 | 
			
		|||
 | 
			
		||||
For Debian based distributions:
 | 
			
		||||
 | 
			
		||||
	apt-get install python-dev python-pip python-virtualenv
 | 
			
		||||
	apt-get install python3-dev python3-pip python3-virtualenv
 | 
			
		||||
 | 
			
		||||
Then here's how to install:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -75,5 +74,5 @@ Then here's how to install:
 | 
			
		|||
	cd fdroidserver
 | 
			
		||||
	virtualenv env/
 | 
			
		||||
	source env/bin/activate
 | 
			
		||||
	pip install -e .
 | 
			
		||||
	python2 setup.py install
 | 
			
		||||
	pip3 install -e .
 | 
			
		||||
	python3 setup.py install
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,9 +83,7 @@ intended usage. At the very least, you'll need:
 | 
			
		|||
@item
 | 
			
		||||
GNU/Linux
 | 
			
		||||
@item
 | 
			
		||||
Python 2.x
 | 
			
		||||
To be sure of being able to process all apk files without error, you need
 | 
			
		||||
2.7.7 or later. See @code{http://bugs.python.org/issue14315}.
 | 
			
		||||
Python 3.4 or later
 | 
			
		||||
@item
 | 
			
		||||
The Android SDK Tools and Build-tools.
 | 
			
		||||
Note that F-Droid does not assume that you have the Android SDK in your
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue