From 92a388c04ace375674ddf5a09ea4c5dc5388f5ab Mon Sep 17 00:00:00 2001 From: Karolina Surma <33810531+befeleme@users.noreply.github.com> Date: Wed, 17 Mar 2021 17:30:45 +0100 Subject: [PATCH] Add square logo and desktop entry files (#6010) * Add square logo and desktop entry files * Install desktop file and icon using data files. Co-authored-by: Karolina Surma --- jupyter-notebook.desktop | 10 ++ jupyter.svg | 364 +++++++++++++++++++++++++++++++++++++++ notebook.svg | 335 +++++++++++++++++++++++++++++++++++ setup.py | 8 + 4 files changed, 717 insertions(+) create mode 100644 jupyter-notebook.desktop create mode 100644 jupyter.svg create mode 100644 notebook.svg diff --git a/jupyter-notebook.desktop b/jupyter-notebook.desktop new file mode 100644 index 000000000..97a27743e --- /dev/null +++ b/jupyter-notebook.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Jupyter Notebook +Comment=Run Jupyter Notebook +Exec=jupyter-notebook +Terminal=true +Type=Application +Icon=notebook +StartupNotify=true +MimeType=application/x-ipynb+json; +Categories=Development;Education diff --git a/jupyter.svg b/jupyter.svg new file mode 100644 index 000000000..42918a707 --- /dev/null +++ b/jupyter.svg @@ -0,0 +1,364 @@ + + + + + + image/svg+xml + + Group.svg + + + + + Group.svg + Created using Figma 0.90 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/notebook.svg b/notebook.svg new file mode 100644 index 000000000..52e713c32 --- /dev/null +++ b/notebook.svg @@ -0,0 +1,335 @@ + + + + + + image/svg+xml + + logo.svg + + + + logo.svg + Created using Figma 0.90 + + + + + + + + + + + + + + + + + + diff --git a/setup.py b/setup.py index 035faa73e..d405dece5 100755 --- a/setup.py +++ b/setup.py @@ -63,6 +63,13 @@ from setupbase import ( css_js_prerelease, ) + +data_files = [ + ('share/applications', ['jupyter-notebook.desktop']), + ('share/icons/hicolor/scalable/apps', ['notebook.svg']), + ] + + setup_args = dict( name = name, description = "A web-based notebook environment for interactive computing", @@ -78,6 +85,7 @@ for more information. version = version, packages = find_packages(), package_data = find_package_data(), + data_files = data_files, author = 'Jupyter Development Team', author_email = 'jupyter@googlegroups.com', url = 'http://jupyter.org',