From f04e41bef95b9574f057fced859154d08bfe88bb Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Sun, 24 Nov 2024 19:37:08 -0500 Subject: [PATCH] nb --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cf8969ca..4970bb3d 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ def update_package_data(distribution): # The name of the project name = "nglview-js-widgets" lab_path = (HERE / "nglview" / "staticlab") +nb_path = (HERE / "nglview" / "static") package_data_spec = { name: ["*"], } @@ -36,7 +37,7 @@ def update_package_data(distribution): data_files_spec = [ ("share/jupyter/labextensions/%s" % labext_name, str(lab_path), "**"), ("share/jupyter/labextensions/%s" % labext_name, str(HERE), "install.json"), - ("share/jupyter/nbextensions/%s" % labext_name, str(lab_path), "**"), + ("share/jupyter/nbextensions/%s" % labext_name, str(nb_path), "**"), ("etc/jupyter/nbconfig/notebook.d", str(HERE), "nglview-js-widgets.json"), ]