Skip to content

Commit 0642550

Browse files
jcoadymwcraig
authored andcommitted
Update for JupyterLab 1.x
For JupyterLab version 1.0.0 and higher we no longer need to copy vpython_data files to appropriate directory. It is now handled in the Jupyter labextension for vpython.
1 parent 06bb235 commit 0642550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpython/with_notebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def find_free_port():
5555
pass
5656
else:
5757
# We have jupyterlab, is it the right version?
58-
if jupyterlab.__version__ >= '0.35.0':
58+
if (jupyterlab.__version__ >= '0.35.0') and (jupyterlab.__version__ < '1.0.0'):
5959
from os.path import join
6060
labextensions_dir = join(jupyterlab.commands.get_app_dir(), u'static')
6161
try:

0 commit comments

Comments
 (0)