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

View File

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