csdms / wmt-exe

The Web Modeling Tool execution server.
MIT License
0 stars 1 forks source link

Update for PyMT v1.0 #17

Open mdpiper opened 5 years ago

mdpiper commented 5 years ago

This package was built on cmt, the precursor to pymt. A grep of the package shows several locations where cmt is used:

$ grep -r cmt .
./wmtexe/cmd/run.py:10:from cmt.component.model import Model
./wmtexe/task.py:14:from cmt.component.model import Model
./wmtexe/task.py:15:from cmt.framework.services import register_component_classes
./wmtexe/task.py:25:        from cmt.components import __all__ as names
./wmtexe/task.py:30:            ['cmt.components.{name}'.format(name=name) for name in names])
./build/lib/wmtexe/task.py:14:from cmt.component.model import Model
./build/lib/wmtexe/task.py:15:from cmt.framework.services import register_component_classes
./build/lib/wmtexe/task.py:25:        from cmt.components import __all__ as names
./build/lib/wmtexe/task.py:30:            ['cmt.components.{name}'.format(name=name) for name in names])
./build/lib/wmtexe/cmd/run.py:10:from cmt.component.model import Model

The package should be updated to support PyMT v1.0.

mdpiper commented 5 years ago

Note that pymt==0.2 works.