Remove occurency of pymath (Issue with calculus filter)

This commit is contained in:
Benjamin Bertrand 2017-04-17 17:10:38 +03:00
parent 83e972733e
commit 30a6f1ab04
1 changed files with 10 additions and 9 deletions

View File

@ -12,7 +12,7 @@ import sys
from path import Path
import pytex
import pymath
import mapytex
import bopytex.filters as filters
formatter = logging.Formatter('%(name)s :: %(levelname)s :: %(message)s')
@ -25,16 +25,17 @@ logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
logger.addHandler(steam_handler)
def setup():
mapytex_tools = {
"Expression": pymath.Expression,
"Polynom": pymath.Polynom,
"Fraction": pymath.Fraction,
"Equation": pymath.Equation,
"random_str": pymath.random_str,
"random_pythagore": pymath.random_pythagore,
"Dataset": pymath.Dataset,
"WeightedDataset": pymath.WeightedDataset,
"Expression": mapytex.Expression,
"Polynom": mapytex.Polynom,
"Fraction": mapytex.Fraction,
"Equation": mapytex.Equation,
"random_str": mapytex.random_str,
"random_pythagore": mapytex.random_pythagore,
"Dataset": mapytex.Dataset,
"WeightedDataset": mapytex.WeightedDataset,
}
pytex.update_export_dict(mapytex_tools)