From 61033bb4e5960a8d923bb57b9c09a2d69dfd83ae Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 9 Apr 2018 20:34:59 -0700 Subject: [PATCH] Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically. --- NEWS | 1 + README.md | 13 ++++++++++--- tox.ini | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index a5ef61f..564c82c 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ * Support for Borg --prefix option for consistency checks via "prefix" option in borgmatic's consistency configuration. * Add introductory screencast link to documentation. + * Update tox.ini to only assume Python 3.x instead of Python 3.4 specifically. 1.1.15 * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file. diff --git a/README.md b/README.md index 036d185..78ceb08 100644 --- a/README.md +++ b/README.md @@ -299,15 +299,22 @@ borgmatic to run. ## Running tests -First install tox, which is used for setting up testing environments: +First, clone a copy of [borgmatic source code](https://projects.torsion.org/witten/borgmatic): ```bash -pip3 install tox +git clone https://projects.torsion.org/witten/borgmatic ``` -Then, to actually run tests, run: +Then, install tox, which is used for setting up testing environments: ```bash +sudo pip3 install tox +``` + +Finally, to actually run tests, run: + +```bash +cd borgmatic tox ``` diff --git a/tox.ini b/tox.ini index 159847d..81a6186 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py34 +envlist=py3 skipsdist=True [testenv]