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

Constuct installer #31

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Constuct installer #31

wants to merge 4 commits into from

Conversation

haesleinhuepf
Copy link
Owner

Generating an installer is shockingly easy.

image

We need to figure out though how we can add a link to the [windows] start menu, e.g. to

path/to/installed-devbio-napari/python -m naparia

... to start napari with the assistant.

closes #30

@haesleinhuepf haesleinhuepf marked this pull request as draft October 25, 2022 19:03
@NicoKiaru
Copy link

I've made a post_install script to make shortcuts. It's windows only and probably a bit hacky. But here it is in case it's useful:

https://github.com/NicoKiaru/ABBA-Python/blob/dev/constructor/post_install_win.bat

ping @romainGuiet

@haesleinhuepf
Copy link
Owner Author

Amazing, thanks @NicoKiaru !

Maybe, we can ask @psobolewskiPhD or @thawn for thelp for making this work on Mac too. 🙃

@psobolewskiPhD
Copy link
Contributor

Sorry, I'm not really familiar with this stuff, but it's used in making the napari bundle, see:
https://github.com/napari/packaging
https://napari.org/stable/developers/packaging.html

thawn and others added 2 commits June 9, 2023 21:13
installs devbio-napari.app under ~/Applications
@haesleinhuepf
Copy link
Owner Author

@zoccoler that's the PR @thawn and me were just talking about. Would be cool if you had a look how to make the start menu entry work for Windows. Big thanks!

@zoccoler
Copy link

zoccoler commented Aug 2, 2023

Hi Robert @haesleinhuepf ,

I found the blog I used before to make a Windows installer using this "Inno Setup" program.

It has a step-by-step procedure there, here is the link (skip the pyinstaller part and go to the "What About Installers?" sub-section): https://www.blog.pythonlibrary.org/2019/03/19/distributing-a-wxpython-application/

@thawn
Copy link

thawn commented Jan 15, 2024

I had a quick look around and it seems we just need to do mamba install napari-menu. This package provides a json config file that tells constructor to create a windows menu shortcut.

I will play around with the windows installer and napari-menu a bit and report my findings here.

Note that napari-menu causes constructor to create start menu entries that will start napari not naparia. If we wanted to have menu entries for naparia, I guess we would need to create the conda package naparia-menu.

Napari-menu is somehow created from napari-feedstock, but I don't quite understand how that repo works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundle devbio-napari with installers
5 participants