Update README.development

Add instruction to build the Python virtual environment with --system-site-packages when using the distro-installed PyQt5.
This commit is contained in:
zjosua 2019-12-26 14:28:19 +01:00 committed by GitHub
parent de980055e6
commit 5e217f5587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,10 @@ $ . ~/pyenv/bin/activate
If the distro you are using has PyQt5 installed, make sure you have the PyQt5 If the distro you are using has PyQt5 installed, make sure you have the PyQt5
WebEngine module and development tools (eg pyqt5-dev-tools) installed as well. WebEngine module and development tools (eg pyqt5-dev-tools) installed as well.
When you use your distro's PyQt5, you have to use the --system-site-packages
option when setting up the virtual environment to give it access to the system
site-packages dir.
Otherwise, run: Otherwise, run:
$ pip install -r requirements.qt $ pip install -r requirements.qt