Skip to content

Commit 4a148d0

Browse files
committed
added extension uninstall command
1 parent 2fa6710 commit 4a148d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilities/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def main(netpyne_branch, workspace_branch, geppetto_branch=None, skipNpm=False,
136136
execute(cmd=['npm', 'ci'], cwd=os.path.join(DEPS_DIR, META_DIR, JUPYTER_DIR, 'js'))
137137
execute(cmd=['npm', 'run', 'build-dev' if development else 'build'],
138138
cwd=os.path.join(DEPS_DIR, META_DIR, JUPYTER_DIR, 'js'))
139-
140-
execute(cmd=['rm', '-rf', '/opt/conda/share/jupyter/nbextensions/jupyter_geppetto'])
139+
140+
execute(cmd=['jupyter', 'nbextension', 'uninstall', 'jupyter_geppetto'])
141141
execute(cmd=['jupyter', 'nbextension', 'install', '--py', '--symlink', '--sys-prefix', 'jupyter_geppetto'])
142142
execute(cmd=['jupyter', 'nbextension', 'enable', '--py', '--sys-prefix', 'jupyter_geppetto'])
143143
execute(cmd=['jupyter', 'nbextension', 'enable', '--py', '--sys-prefix', 'widgetsnbextension'])

0 commit comments

Comments
 (0)