LiberTEM icon indicating copy to clipboard operation
LiberTEM copied to clipboard

Package/Installer for Windows

Open sk1p opened this issue 7 years ago • 10 comments

Can the average windows user install a Python environment and install LiberTEM via pip, or do we need to provide an .exe installer or something like that?

sk1p avatar Jul 09 '18 15:07 sk1p

Having an EXE would be required sooner or later IMHO since the LiberTEM GUI is becoming useful as a quick and simple browser for pixelated STEM files. Installing and maintaining the environment is probably quite a barrier and simply overkill for most users who just want to have a quick look at some files.

uellue avatar Jul 09 '18 15:07 uellue

I see at least two ways for this:

  1. build a portable miniconda installation and create an installer that just copies that somewhere
  2. like hyperspy, create a bundle based on WinPython

I currently like 1) as it is basically what I'm doing with the Linux app image

sk1p avatar Jul 12 '18 17:07 sk1p

Actually, installing Anaconda and then installing LiberTEM into an environment is quite OK on Windows. Maybe we can stick with that for the early version since people likely want to update from Git anyway?

uellue avatar Aug 22 '18 20:08 uellue

Hey @uellue @sk1p, I would like to work on the conda packaging for windows.

AshwinB-hat avatar Mar 29 '19 05:03 AshwinB-hat

@AshwinB-hat that's great! I suppose as part of the Google Summer of Code?

We can discuss details in the Gitter chat: https://gitter.im/LiberTEM/Lobby

uellue avatar Mar 29 '19 13:03 uellue

Yes! Fine i will ping there. (Y)

AshwinB-hat avatar Mar 29 '19 13:03 AshwinB-hat

Maybe this could be useful?

https://www.pythonguis.com/tutorials/packaging-pyside6-applications-windows-pyinstaller-installforge/

uellue avatar Apr 12 '24 06:04 uellue

...or this https://pypi.org/project/pynsist/

uellue avatar Apr 12 '24 06:04 uellue

Pynsist managed to build an installer package that installed sth. However, when trying to run it, it would flash a window and terminate. I couldn't get a proper error message, so I can't continue investigating.

PyInstaller is currently broken by this: https://github.com/open-telemetry/opentelemetry-python/issues/2288

uellue avatar Apr 17 '24 12:04 uellue

https://github.com/pyinstaller/pyinstaller/issues/8413

uellue avatar Apr 17 '24 13:04 uellue