Commit a2a34780 authored by Tjerk Vreeken's avatar Tjerk Vreeken

Remove left-over cython dependency

parent 1ab80864
cython >= 0.23.0
numpy >= 1.11.0
mock >= 2.0.0
sphinx
......
......@@ -3,7 +3,6 @@ from abc import ABCMeta, abstractmethod
import numpy as np
import itertools
import logging
import cython
import sys
from .optimization_problem import OptimizationProblem
......
......@@ -89,10 +89,6 @@ def run_optimization_problem(optimization_problem_class, base_folder='..', log_l
CasadiOptions.startProfiling(filename)
if profile:
# Must prepend set Cython compiler option "profile=True".
logger.warning(
"To profile effectively, compile RTC-Tools with the Cython compiler option 'profile=True'")
filename = os.path.join(base_folder, "profile.prof")
cProfile.runctx("prob.optimize()", globals(), locals(), filename)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment