diff --git a/jupyter-notebook.desktop b/jupyter-notebook.desktop new file mode 100644 index 0000000000..095d5ac65b --- /dev/null +++ b/jupyter-notebook.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Jupyter Notebook +Comment=Run Jupyter Notebook +Exec=jupyter-notebook %f +Terminal=true +Type=Application +Icon=notebook +StartupNotify=true +MimeType=application/x-ipynb+json; +Categories=Development;Education; +Keywords=python; diff --git a/pyproject.toml b/pyproject.toml index dc404317cc..71b9454eac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,6 +84,8 @@ validate-bump = false "notebook/labextension" = "share/jupyter/labextensions/@jupyter-notebook/lab-extension" "notebook/schemas/@jupyter-notebook" = "share/jupyter/lab/schemas/@jupyter-notebook" "jupyter-config/jupyter_server_config.d" = "etc/jupyter/jupyter_server_config.d" +"notebook.svg" = "share/icons/hicolor/scalable/apps/notebook.svg" +"jupyter-notebook.desktop" = "share/applications/jupyter-notebook.desktop" [tool.hatch.build.targets.sdist] artifacts = [ @@ -91,6 +93,8 @@ artifacts = [ "notebook/static", "notebook/schemas/@jupyter-notebook", "notebook/templates", + "notebook.svg", + "jupyter-notebook.desktop", ] include = [ "/jupyter-config",