Skip to content

Commit

Permalink
Drop changes needed for 0.4.18 and update a few other things (#85)
Browse files Browse the repository at this point in the history
* Revert temporary changes done for 0.4.18 release

* add napari-plugin-manager

* move to python 3.9 on Windows
  • Loading branch information
jaimergp authored Feb 1, 2024
1 parent aed2845 commit f55c769
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 57 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/make_bundle_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,11 @@ jobs:
},
{
"os": "windows-latest",
"python-version": "3.8",
"python-version": "3.9",
"target-platform": "win-64",
},
]
# TEMPORARY for 0.4.18 only
# platforms_str = "${{ inputs.installer_platforms || 'linux-64,win-64,osx-64,osx-arm64' }}"
platforms_str = 'linux-64,win-64,osx-64,osx-arm64'
platforms_str = "${{ inputs.installer_platforms || 'linux-64,win-64,osx-64,osx-arm64' }}"
platforms = {p.strip() for p in platforms_str.split(",")}
matrix = {"include": []}
Expand Down
1 change: 1 addition & 0 deletions build_installers.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def _napari_env(
f"python={python_version}.*=*_cpython",
f"napari={napari_version}",
f"napari-menu={napari_version}",
"napari-plugin-manager",
f"pyside2={pyside_version}",
"conda",
"mamba",
Expand Down
50 changes: 0 additions & 50 deletions conda-recipe/conda_menu_config.json

This file was deleted.

4 changes: 1 addition & 3 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ outputs:
number: {{ build }}
script:
- mkdir -p "${PREFIX}/Menu"
# - sed "s/__PKG_VERSION__/{{ PKG_VERSION }}/" "{{ SRC_DIR }}/resources/conda_menu_config.json" > "{{ PREFIX }}/Menu/napari-menu.json"
# TEMPORARY, revert after 0.4.18
- sed "s/__PKG_VERSION__/{{ PKG_VERSION }}/" "{{ RECIPE_DIR }}/conda_menu_config.json" > "{{ PREFIX }}/Menu/napari-menu.json"
- sed "s/__PKG_VERSION__/{{ PKG_VERSION }}/" "{{ SRC_DIR }}/resources/conda_menu_config.json" > "{{ PREFIX }}/Menu/napari-menu.json"
- cp "{{ SRC_DIR }}/napari/resources/logo.png" "{{ PREFIX }}/Menu/napari.png"
- cp "{{ SRC_DIR }}/napari/resources/icon.icns" "{{ PREFIX }}/Menu/napari.icns"
- cp "{{ SRC_DIR }}/napari/resources/icon.ico" "{{ PREFIX }}/Menu/napari.ico"
Expand Down

0 comments on commit f55c769

Please sign in to comment.