constructor icon indicating copy to clipboard operation
constructor copied to clipboard

How to have more clear way to execute tools after installing them?

Open joamatab opened this issue 3 years ago • 6 comments
trafficstars

Checklist

  • [X] I added a descriptive title
  • [X] I searched open reports and couldn't find a duplicate

What happened?

After installation, there is no clear way to launch the installed tools (jupyterlab, spyder)

https://github.com/gdsfactory/gdsfactory/blob/master/construct.yaml

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

https://github.com/gdsfactory/gdsfactory/issues/723

joamatab avatar Sep 19 '22 18:09 joamatab

You usually provide a conda package that ships a shorcut JSON file for menuinst on Windows (this is what console_shortcut does). Source here.

Docs for menuinst 1.x:

  • https://github.com/conda/menuinst/wiki/Menu-Shortcut-Config-Structure
  • https://github.com/conda/menuinst/wiki/Menus-in-Conda-Recipes

jaimergp avatar Oct 05 '22 10:10 jaimergp

Thank you Jaime,

how could we have menuinst available on PyPi or conda?

joamatab avatar Oct 10 '22 16:10 joamatab

It's on defaults and conda-forge, and it comes preinstalled with conda! Include it in your construct.yaml as one more dependency next to conda if you want to be explicit.

jaimergp avatar Oct 17 '22 08:10 jaimergp

Hi Jaime,

How can we also have menuinst available on Linux and MacOs?

https://github.com/conda/menuinst/issues/109

joamatab avatar Oct 31 '22 15:10 joamatab

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include: - What OS and version you reproduced the issue on - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

github-actions[bot] avatar Nov 01 '23 04:11 github-actions[bot]

@joamatab After some time, menuinst v2 should be publicly available and integrated in conda soon. Once conda 23.11 is released, which should have support for menuinst v2, we can add explicit support here in constructor too.

jaimergp avatar Nov 01 '23 14:11 jaimergp