Core utilities for Virtool and associated packages.
pip install virtool-corepip install git+https://github.com/virtool/virtool-core.gittox is used to run the tests in a fresh virtual environment with all of the test dependencies. To install it use;
pip install tox tox-poetrytoxAny arguments given to tox after a -- token will be supplied to pytest.
tox -- --log-cli-level=DEBUGFor docstrings, use the Sphinx docstring format.
The packages sphinx_rtd_theme and sphinx_autoapi are used in rendering the documentation.
pip install sphinx_rtd_theme sphinx_autoapirecommonmark is used so that Sphinx can
render documentation from markdown files as well as rst files. It will need to
be installed before running sphinx-build:
pip install recommonmarkTo use sphinx rst directives in a markdown file use the
eval_rst code block
cd sphinx && make htmlThe rendered HTML files are found under sphinx/build/html