Switch README and docs to indicate python 3

This commit is contained in:
Daniel Martí 2016-01-04 21:47:37 +01:00
parent 74197a9a2d
commit 3371aa2116
2 changed files with 6 additions and 9 deletions

View file

@ -23,8 +23,7 @@ install, and keep track of updates on your device.
### Installing ### Installing
Note that only Python 2 is supported. We recommend version 2.7.7 or Note that only Python 3 is supported. We recommend version 3.4 or later.
later.
The easiest way to install the `fdroidserver` tools is on Ubuntu, Mint or other The easiest way to install the `fdroidserver` tools is on Ubuntu, Mint or other
Ubuntu based distributions, you can install using: Ubuntu based distributions, you can install using:
@ -56,7 +55,7 @@ or Cygwin, you can use it:
Python's `pip` also works: 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 The combination of `virtualenv` and `pip` is great for testing out the
latest versions of `fdroidserver`. Using `pip`, `fdroidserver` can 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: 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: Then here's how to install:
@ -75,5 +74,5 @@ Then here's how to install:
cd fdroidserver cd fdroidserver
virtualenv env/ virtualenv env/
source env/bin/activate source env/bin/activate
pip install -e . pip3 install -e .
python2 setup.py install python3 setup.py install

View file

@ -83,9 +83,7 @@ intended usage. At the very least, you'll need:
@item @item
GNU/Linux GNU/Linux
@item @item
Python 2.x Python 3.4 or later
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}.
@item @item
The Android SDK Tools and Build-tools. The Android SDK Tools and Build-tools.
Note that F-Droid does not assume that you have the Android SDK in your Note that F-Droid does not assume that you have the Android SDK in your