diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-04-04 07:58:57 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-04-04 07:58:57 +0200 |
commit | 88e648d6f941d655243dc4c2b112607873ea1f84 (patch) | |
tree | 4b6bda7ca42fcf734ea99d39a2329166d11592e4 | |
parent | 27818e3e330cd799b5717b46f24d4d2e46e9c8a4 (diff) | |
parent | 2634b333f2b7e1dccc4c8b0bbda14dd7805278bf (diff) | |
download | qutebrowser-88e648d6f941d655243dc4c2b112607873ea1f84.tar.gz qutebrowser-88e648d6f941d655243dc4c2b112607873ea1f84.zip |
Merge branch 'contributor-config' of https://github.com/rcorre/qutebrowser into rcorre-contributor-config
-rw-r--r-- | CONTRIBUTING.asciidoc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/CONTRIBUTING.asciidoc b/CONTRIBUTING.asciidoc index 46a388143..f88f5cee5 100644 --- a/CONTRIBUTING.asciidoc +++ b/CONTRIBUTING.asciidoc @@ -63,6 +63,35 @@ handy. Of course, if using git is the issue which prevents you from contributing, feel free to send normal patches instead, e.g. generated via `diff -Nur`. +Running qutebrowser with tox +------------------------------- + +Once you have cloned the repository, you can run tox inside the qutebrowser +repository to set up a +https://docs.python.org/3/library/venv.html[virtual environment]: + +---- +$ tox -e mkvenv +---- + +This installs all needed Python dependencies in a `.venv` subfolder. The +system-wide Qt5/PyQt5 installations are symlinked into the virtual environment. + +You can then create a simple wrapper script to start qutebrowser: + +---- +#!/bin/bash +~/path/to/qutebrowser/.venv/bin/python3 -m qutebrowser "$@" +---- + +If you regularly use a non-development version of qutebrowser, you may want to +redirect your development version it to a local config using the `-c` flag: + +---- +#!/bin/bash +~/path/to/qutebrowser/.venv/bin/python3 -m qutebrowser -c .qutebrowser-local "$@" +---- + Getting patches ~~~~~~~~~~~~~~~ |