python_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| python_setup [2019/12/28 19:17] – [Python Project Setup] jrseti | python_setup [2019/12/28 19:19] (current) – [Sample tox.ini file] jrseti | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| ) | ) | ||
| </ | </ | ||
| + | |||
| + | ====Sample tox.ini file==== | ||
| + | |||
| + | # tox (https:// | ||
| + | # in multiple virtualenvs. This configuration file will run the | ||
| + | # test suite on all supported python versions. To use it, "pip install tox" | ||
| + | # and then run " | ||
| + | | ||
| + | [tox] | ||
| + | envlist = py37 | ||
| + | | ||
| + | [testenv] | ||
| + | deps = pytest | ||
| + | commands = pytest | ||
python_setup.1577560673.txt.gz · Last modified: 2019/12/28 19:17 by jrseti