Import 2017-06-07 23:51:09: master abe2f0bd
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
ihnorton | ihnorton | master | 2017-04-21 17:57:43 | master be37d0a9 |
Changeset | ENH: add module to PYTHONPATH during instantiation Allows python modules to depend on resources provided by other modules. ref: https://github.com/Slicer/Slicer/pull/705 from jcfr: Instantiation is done in arbitrary order but the "loading" of each module is done based on the dependency graph captured by the dependencies property: instantiateModules loops over the keys alphabetically,
then instantiateModule for each module will collect the dependent modules which are later loaded in the right order:
git-svn-id: http://svn.slicer.org/Slicer4/trunk@25941 3bd1e089-480b-0410-8dfb-8563597acbee |
|||
mod - Base/QTGUI/qSlicerScriptedLoadableModuleFactory.cxx | Diff File |