Skip to content

Commit dcf5a2b

Browse files
committed
tox.ini, _doctest_environment.py: New
1 parent 2f05495 commit dcf5a2b

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

_doctest_environment.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Toplevel for doctesting with passagemath
2+
3+
from sage.all__sagemath_modules import *

tox.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[tox]
2+
envlist = passagemath
3+
4+
[testenv:.pkg]
5+
passenv =
6+
CPATH
7+
LIBRARY_PATH
8+
9+
[testenv:passagemath]
10+
usedevelop = True
11+
extras = passagemath
12+
13+
passenv =
14+
CPATH
15+
LIBRARY_PATH
16+
17+
setenv =
18+
# For access to _doctest_environment.py
19+
PYTHONPATH=.
20+
21+
commands =
22+
sage -tp --force-lib --environment=_doctest_environment mclf

0 commit comments

Comments
 (0)