diff --git a/dev-install.sh b/dev-install.sh index 940ad0dcf91..7b78935fa7c 100755 --- a/dev-install.sh +++ b/dev-install.sh @@ -38,22 +38,19 @@ yarn install yarn run build echo -n "widgetsnbextension" -cd widgetsnbextension -pip install -v -e . +pip install -v -e ./python/widgetsnbextension if [[ "$OSTYPE" == "msys" ]]; then jupyter nbextension install --overwrite --py $nbExtFlags widgetsnbextension else jupyter nbextension install --overwrite --py --symlink $nbExtFlags widgetsnbextension fi jupyter nbextension enable --py $nbExtFlags widgetsnbextension -cd ../.. echo -n "ipywidgets" -cd python/ipywidgets -pip install -v -e ".[test]" -cd ../.. +pip install -v -e "./python/ipywidgets[test]" if test "$skip_jupyter_lab" != yes; then + echo -n "jupyterlab_ipywidgets" pip install jupyter_packaging pip install -ve ./python/jupyterlab_widgets jupyter labextension develop ./python/jupyterlab_widgets --overwrite diff --git a/package.json b/package.json index 982e446a7f9..d0dd9b350bc 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "private": true, "workspaces": [ "packages/*", - "widgetsnbextension", + "python/widgetsnbextension", "examples/*", - "jupyterlab_widgets" + "python/jupyterlab_widgets" ], "scripts": { "build": "lerna run build --ignore \"@jupyter-widgets/example-*\"",