Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/pkgs/sage-docbuild/tox.ini
4081 views
1
# To build and test in the tox environment:
2
#
3
# ./sage -sh -c '(cd pkgs/sage-docbuild && tox)'
4
#
5
# To test interactively:
6
#
7
# pkgs/sage-docbuild/.tox/python/bin/python
8
#
9
[tox]
10
11
requires =
12
# Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1
13
tox<4.14.1
14
15
[testenv]
16
deps = -rrequirements.txt
17
18
setenv =
19
# Sage scripts like to use $HOME/.sage
20
HOME={envdir}
21
22
allowlist_externals =
23
bash
24
25
commands =
26
# Beware of the treacherous non-src layout.
27
#python -c 'import sys; "" in sys.path and sys.path.remove(""); import sage_docbuild'
28
29
# TODO: Add tests after adding the dependency on sagelib to
30
# requirements.txt
31
32