From b5dc4ea04032b69094e48fd8c27373c1fac02cab Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 May 2015 01:18:19 +0200 Subject: [PATCH] tox: Use absolute path for -rrequirements.txt. This fixes a FileNotFoundError on Ubuntu Trusty. --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index fe077c647..e134d6176 100644 --- a/tox.ini +++ b/tox.ini @@ -52,7 +52,7 @@ commands = skip_install = true setenv = PYTHONPATH={toxinidir}/scripts deps = - -rrequirements.txt + -r{toxinidir}/requirements.txt astroid==1.3.6 beautifulsoup4==4.3.2 pylint==1.4.3 @@ -76,7 +76,7 @@ commands = {envpython} -m pep257 scripts tests qutebrowser --ignore=D102,D103,D2 [testenv:flake8] skip_install = true deps = - -rrequirements.txt + -r{toxinidir}/requirements.txt pyflakes==0.8.1 pep8==1.5.7 # rq.filter: <1.6.0 flake8==2.4.0 @@ -105,7 +105,7 @@ commands = skip_install = true whitelist_externals = git deps = - -rrequirements.txt + -r{toxinidir}/requirements.txt commands = {[testenv:mkvenv]commands} {envpython} scripts/src2asciidoc.py @@ -115,7 +115,7 @@ commands = [testenv:smoke] passenv = DISPLAY XAUTHORITY HOME deps = - -rrequirements.txt + -r{toxinidir}/requirements.txt # We don't use {[testenv:mkvenv]commands} here because that seems to be broken # on Ubuntu Trusty. commands =