diff --git a/IPython/utils/submodule.py b/IPython/utils/submodule.py index 28be89f..4ca093a 100644 --- a/IPython/utils/submodule.py +++ b/IPython/utils/submodule.py @@ -32,8 +32,9 @@ def ipython_parent(): def ipython_submodules(root): """return IPython submodules relative to root""" + from IPython.frontend.html.notebook import DEFAULT_STATIC_FILES_PATH return [ - pjoin(root, 'IPython', 'frontend', 'html', 'notebook', 'static', 'components'), + pjoin(DEFAULT_STATIC_FILES_PATH, 'components') ] def is_repo(d):