User Tools

Site Tools


python_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
python_setup [2019/12/28 19:17] – [Python Project Setup] jrsetipython_setup [2019/12/28 19:19] (current) – [Sample tox.ini file] jrseti
Line 61: Line 61:
 ) )
 </code> </code>
 +
 +====Sample tox.ini file====
 +
 +  # tox (https://tox.readthedocs.io/) is a tool for running tests
 +  # 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" from this directory.
 +  
 +  [tox]
 +  envlist = py37
 +  
 +  [testenv]
 +  deps = pytest
 +  commands = pytest
python_setup.1577560673.txt.gz · Last modified: 2019/12/28 19:17 by jrseti