From be89c7a779ef1c8cac915159151d6860ee1ac419 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 12 Jul 2018 16:09:14 +1000 Subject: [PATCH] mention pip+pyqt5 --- README.development | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.development b/README.development index ffa43ec61..48d18ce7e 100644 --- a/README.development +++ b/README.development @@ -21,9 +21,14 @@ It also requires a number of Python packages, which you can grab via pip: $ pip3 install -r requirements.txt -You will also need PyQt development tools (specifically pyrcc5 and pyuic5). -These are often contained in a separate package on Linux, such as -'pyqt5-dev-tools' on Debian/Ubuntu. +If you're on a Linux distribution that packages PyQt 5.9 then you can use the +distro's packages. Make sure you install the development tools (eg +pyqt5-dev-tools) as well. + +If you're on another platform or your distro has the wrong Qt version, you +can install PyQt with pip: + +$ pip3 install sip pyqt5==5.9 To use the development version: @@ -53,6 +58,11 @@ $ ./runanki If you get any errors, please make sure you don't have an older version of Anki installed in a system location. +To run the unit tests, you will need to install nose from your distro, or +with pip: + +$ pip3 install nose + Before contributing code, please read README.contributing. If you'd like to contribute translations, please see the translations section