Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create windows shortcuts with micromamba #735

Closed
2 tasks done
huche6 opened this issue Dec 15, 2023 · 1 comment · Fixed by #474
Closed
2 tasks done

Create windows shortcuts with micromamba #735

huche6 opened this issue Dec 15, 2023 · 1 comment · Fixed by #474
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability

Comments

@huche6
Copy link

huche6 commented Dec 15, 2023

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

When creating a windows installer with micromamba, the process is stopped in main.py by

    if osname == "win" and "micromamba" in os.path.basename(info['_conda_exe']):
        # TODO: Remove when shortcut creation is implemented on micromamba
        sys.exit("Error: micromamba is not supported on Windows installers.")

However, micromamba does handle shortcut creation. A release of 2021 (0.14.0) states that :

  • [micromamba] if menuinst json files are present, micromamba will create
    shortcuts in the start menu on Windows
    The only problem is that the creation of the menu is called with the command
push '"$INSTDIR\_conda.exe" constructor --prefix "$INSTDIR" --make-menus @MENU_PKGS@'

in main.nsi.tmpl. The --make-menus cli is not available with micromamba.
Would it be possible to create the menus in a different way which would make it compatible with conda and micromamba ?

Why is this needed?

  • To make it possible to create windows installer with micromamba which allows to have smaller installer.

What should happen?

No response

Additional Context

No response

@huche6 huche6 added the type::feature request for a new feature or capability label Dec 15, 2023
@huche6
Copy link
Author

huche6 commented Dec 15, 2023

It seems that #474 can solve this

@jaimergp jaimergp linked a pull request Dec 18, 2023 that will close this issue
10 tasks
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant