Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ python_requires = >=3.7

[options.extras_require]
test =
pytest>=5.4,<6
pytest>=5.4
coverage>=5.2,<6
docs =
nbsphinx==0.8.8
sphinxcontrib-napoleon==0.7
sphinx-rtd-theme==1.0.0

passagemath =
passagemath-pari
2 changes: 1 addition & 1 deletion tests/test_arithmetic_field.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from circkit.arithmetic import ArithmeticCircuit
from sage.all import GF
from sage.rings.finite_rings.finite_field_constructor import GF
import random
K = GF(2**8)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_builtin_circuit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from circkit.arithmetic import ArithmeticCircuit
from sage.all import GF
from sage.rings.finite_rings.finite_field_constructor import GF
import random
K = GF(2**8)

Expand Down
18 changes: 18 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tox]
envlist = passagemath

[testenv:.pkg]
passenv =
CPATH
LIBRARY_PATH

[testenv:passagemath]
usedevelop = True
extras = passagemath, test

passenv =
CPATH
LIBRARY_PATH

commands =
pytest tests