From 243024082749df1ab1913fc40ebe21d9564eb53b Mon Sep 17 00:00:00 2001 From: chadwhitacre <> Date: Tue, 21 Jul 2020 10:49:17 +0000 Subject: [PATCH] Specify full test for dev env (switch to list) [Imported from Trac: page Python3, version 10] --- Python3.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Python3.md b/Python3.md index 5934ff6..2d1d8a6 100644 --- a/Python3.md +++ b/Python3.md @@ -8,7 +8,12 @@ ## How to set up your development environment -We use [tox](https://tox.readthedocs.io/en/latest/) to standardize environments across developers and CI. So first install tox (globally, probably) and then in your Tahoe-LAFS working copy run `tox -e py36 --notest` to bootstrap the `py36` virtualenv. Then activate the environment with `source .tox/py36/bin/activate` or equivalent and run `trial allmydata.test.test_python3` as a smoke test. +We use [tox](https://tox.readthedocs.io/en/latest/) to standardize environments across developers and CI. + +1. Install tox (globally, probably). +2. In your Tahoe-LAFS working copy, run `tox -e py36 --notest` to bootstrap the `py36` virtualenv. +3. Activate the environment with `source .tox/py36/bin/activate` or equivalent and run `trial allmydata.test.test_python3` as a smoke test. +4. `deactivate` the virtualenv (or switch shells) and run `tox -e py36` to exercise the whole suite. ## How to choose a module to port