diff --git a/installers-conda/build_conda_pkgs.py b/installers-conda/build_conda_pkgs.py index bd340411838..4bd715dfb35 100644 --- a/installers-conda/build_conda_pkgs.py +++ b/installers-conda/build_conda_pkgs.py @@ -212,16 +212,6 @@ def _patch_source(self): ) file.write_text(file_text) - self.logger.info("Creating Spyder menu file...") - _menufile = RESOURCES / "spyder-menu.json" - self.menufile = BUILD / "spyder-menu.json" - commit, branch = self.repo.head.commit.name_rev.split() - text = _menufile.read_text() - text = text.replace("__PKG_VERSION__", self.version) - text = text.replace("__SPY_BRANCH__", branch) - text = text.replace("__SPY_COMMIT__", commit[:8]) - self.menufile.write_text(text) - def _patch_meta(self, meta): # Remove osx_is_app meta = re.sub(r'^(build:\n([ ]{2,}.*\n)*) osx_is_app:.*\n', diff --git a/installers-conda/resources/spyder-menu.json b/installers-conda/resources/spyder-menu.json deleted file mode 100644 index 6c804e97390..00000000000 --- a/installers-conda/resources/spyder-menu.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft-07/schema", - "$id": "https://schemas.conda.io/menuinst-1.schema.json", - "menu_name": "spyder", - "menu_items": [ - { - "name": "Spyder", - "description": "Scientific PYthon Development EnviRonment", - "icon": "{{ MENU_DIR }}/spyder.{{ ICON_EXT }}", - "activate": false, - "terminal": false, - "platforms": { - "win": { - "desktop": true, - "app_user_model_id": "spyder.Spyder", - "command": ["{{ PREFIX }}/pythonw.exe", "{{ PREFIX }}/Scripts/spyder-script.py"] - }, - "linux": { - "Categories": [ - "Graphics", - "Science" - ], - "command": ["{{ PREFIX }}/bin/spyder", "$@"], - "StartupWMClass": "Spyder" - }, - "osx": { - "command": [ - "$(dirname $0)/python", - "{{ PREFIX }}/bin/spyder", - "$@" - ], - "link_in_bundle": { - "{{ PREFIX }}/bin/python": "{{ MENU_ITEM_LOCATION }}/Contents/MacOS/python" - }, - "CFBundleName": "Spyder", - "CFBundleDisplayName": "Spyder", - "CFBundleIdentifier": "org.spyder-ide.Spyder", - "CFBundleVersion": "__PKG_VERSION__" - } - } - } - ] -}