Gregory Smith | 56fceff | 2015-03-20 18:22:24 -0700 | [diff] [blame] | 1 | #!/bin/sh -ex |
| 2 | |
Gregory P. Smith | c33bdd5 | 2021-05-24 15:29:39 -0700 | [diff] [blame] | 3 | unset PYTHONPATH |
| 4 | python3 -m venv build/venv |
| 5 | . build/venv/bin/activate |
Gregory Smith | 56fceff | 2015-03-20 18:22:24 -0700 | [diff] [blame] | 6 | |
Gregory P. Smith | c33bdd5 | 2021-05-24 15:29:39 -0700 | [diff] [blame] | 7 | pip install --upgrade pip |
| 8 | pip install tox |
Gregory P. Smith | d5a8479 | 2021-11-08 18:16:34 -0800 | [diff] [blame] | 9 | # We should really do this differently, test from a `pip install .` so that |
| 10 | # testing relies on the setup.cfg install_requires instead of listing it here. |
| 11 | pip install psutil |
Gregory P. Smith | c33bdd5 | 2021-05-24 15:29:39 -0700 | [diff] [blame] | 12 | tox -e "py3$(python -c 'import sys; print(sys.version_info.minor)')" |