Slicer: 2145-support-for-installing-extension-from-file a665ca8a

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-09-21 22:44:49 2145-support-for-installing-extension-from-file 815612f6
Affected Issues 0001365: QTScriptedModules - Add support for __init__.py
Changeset

ENH: Skip loading of loadable python module if loadable module are disabled

Before this commit even after disabling the loading of loadable module
the python module corresponding to "logic", "Widgets, "displayable
manager" and "mrml" where still imported. This commit prevent this.

Note that if a given loadable module is disabled with the application
settings the associated python modules will still be imported.

Ideally python module should be imported on a per module basis as it is
done for extension. This will be possible only after python module specific
to a loadable module are located in dedicated directory. This is
somewhat related to issue 0001365

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22463 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/Python/slicer/moduledm/__init__.py Diff File
mod - Base/Python/slicer/modulelogic/__init__.py Diff File
mod - Base/Python/slicer/modulemrml/__init__.py Diff File
mod - Base/Python/slicer/modulewidget/__init__.py Diff File