It seems like running examples\PoCTutorial\src\run_municipality_roll_out.py out of the box (after installing mesido (with pip install -e .) fails to run due to missing matplotlib dependency). Could it be added to the setup.py either as additional or optional dependency (with some flag associated with it if you want to run examples that require plotting)?
See stacktrace below
(.venv) C:\Users\hoopsd\dev\src\mesido>python examples\PoCTutorial\src\run_municipality_roll_out.py
C:\Users\hoopsd\dev\src\mesido\.venv\Lib\site-packages\rtctools\simulation\simulation_problem.py:10: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
Traceback (most recent call last):
File "C:\Users\hoopsd\dev\src\mesido\examples\PoCTutorial\src\run_municipality_roll_out.py", line 5, in <module>
from mesido.workflows.io.rollout_post import RollOutPost
File "C:\Users\hoopsd\dev\src\mesido\src\mesido\workflows\io\rollout_post.py", line 6, in <module>
import matplotlib.patches as mpatches
ModuleNotFoundError: No module named 'matplotlib'
I installed the optional dependency of course, but maybe it is easier to just add it to the setup.py?
It seems like running
examples\PoCTutorial\src\run_municipality_roll_out.pyout of the box (after installingmesido(withpip install -e .) fails to run due to missingmatplotlibdependency). Could it be added to thesetup.pyeither as additional or optional dependency (with some flag associated with it if you want to run examples that require plotting)?See stacktrace below
I installed the optional dependency of course, but maybe it is easier to just add it to the
setup.py?