From bf752f6ea4c5eed05b54fc5ef79f53a7e496244b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 9 Nov 2014 21:48:33 +0100 Subject: [PATCH] Update pyPEG2 install instructions. Fixes #243. --- README.asciidoc | 5 ++--- qutebrowser/utils/earlyinit.py | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 2b83e74d5..845ea2595 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -105,7 +105,7 @@ On Debian ---- # apt-get install python3-pyqt5 python3-pyqt5.qtwebkit python3-pkg-resources python3-pip python3-jinja2 python3-pygments -# pip3 install pypeg2 --allow-external pypeg2 --allow-unverified pypeg2 +# pip3 install pypeg2 ---- To generate the documentation for the `:help` command, when using the git @@ -161,8 +161,7 @@ http://www.riverbankcomputing.com/software/pyqt/download5[Riverbank computing] to get Qt and PyQt5. * Run `scripts/ez_setup.py` to get setuptools. * Get pip as described http://stackoverflow.com/a/12476379[on Stack Overflow]. -* Run +pip install --allow-external pypeg2 --allow-unverified pypeg2 pypeg2+ to -install pypeg2. +* Run +pip install pypeg2+ to install pypeg2. * Run +pip install jinja2+ to install jinja2, or install it from http://www.lfd.uci.edu/~gohlke/pythonlibs/#jinja2. * Run +pip install pygments+ to install pygments, or install it from diff --git a/qutebrowser/utils/earlyinit.py b/qutebrowser/utils/earlyinit.py index 610571d8d..15e78492e 100644 --- a/qutebrowser/utils/earlyinit.py +++ b/qutebrowser/utils/earlyinit.py @@ -230,8 +230,7 @@ def check_libraries(): "python3-pip' and then install via pip3.", arch="Install python-pypeg2 from the AUR", windows="Install via pip.", - pip="pypeg2 --allow-external pypeg2 " - "--allow-unverified pypeg2"), + pip="pypeg2"), 'jinja2': _missing_str("jinja2", debian="apt-get install python3-jinja2",