Installation

Pre-built wheels of tomato are available on PyPI and can be installed using:

pip install tomato[docs,testing]

We strongly recommend installing tomato into a separate conda or venv environment.

Note

The optional targets [docs] and [testing] will install packages required for building this documentation and running the test-suite, respectively.

Testing the installation

To run the test-suite, you need to first install tomato using the above command, and then you need to clone the git repository, and launch pytest from within the created tomato folder:

git clone https://github.com/dgbowl/tomato.git
cd tomato
pytest -vv

As the test suite only uses the tomato.drivers.example_counter driver, the tests should work on all platforms.