Skip to content

Commit

Permalink
Do not need to patch menu json file
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary committed Dec 26, 2023
1 parent 1ea2e5b commit d414896
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
10 changes: 0 additions & 10 deletions installers-conda/build_conda_pkgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
43 changes: 0 additions & 43 deletions installers-conda/resources/spyder-menu.json

This file was deleted.

0 comments on commit d414896

Please sign in to comment.