# To build and test in the tox environment:1#2# ./sage -sh -c '(cd pkgs/sage-docbuild && tox)'3#4# To test interactively:5#6# pkgs/sage-docbuild/.tox/python/bin/python7#8[tox]910requires =11# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.112tox<4.14.11314[testenv]15deps = -rrequirements.txt1617setenv =18# Sage scripts like to use $HOME/.sage19HOME={envdir}2021allowlist_externals =22bash2324commands =25# Beware of the treacherous non-src layout.26#python -c 'import sys; "" in sys.path and sys.path.remove(""); import sage_docbuild'2728# TODO: Add tests after adding the dependency on sagelib to29# requirements.txt303132