From 5cf77ccd4df00a59c8cb8d4670f2964f021ae862 Mon Sep 17 00:00:00 2001 From: efkin Date: Mon, 13 Mar 2017 19:23:08 +0100 Subject: [docs] Define in details the testing environment On debian stable the `python3-tox` and `python-tox` packages come with a really old version of `pip` and `setup_tools`. This makes unusable PEP496 that comes handy when dependencies are "py-version-related". As a workaround we can "inject" an upgraded version of `pip` just before running `tox`. --- README.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 11455880..d8713df6 100644 --- a/README.rst +++ b/README.rst @@ -47,10 +47,20 @@ Compatibility Tests ----- +System dependencies:: + + python3-venv + +Install local dependencies:: + + $ cd testing + $ pyvenv test-env + $ source test-env/bin/activate + $ pip3 install -U -r requirements-testing.pip + Soledad tests use tox, and they live in the testing folder:: - cd testing - tox + $ tox Note that to run CouchDB tests, be sure you have `CouchDB`_ installed on your system. -- cgit v1.2.3