-
Thanks for help we got here (thanks!) we were able to have out app (https://pypi.org/project/apio/) working with pyinstaller. This is a command line app with prequent short invocation so we use the 'one folder' model rather than 'one file' and can distribute it as a zip file that users unzip and set PATH to. My question is, is there a simple installer tool that is cross platform and is known to work well with pyinstaller. E.g. the user loads and run a single executable which when run, creates the pyinstaller app dir and sets the path, on windows, OSX, and linux. As a side note, this could be a pyinstaller feature, a mode which creates a 'one file' but extracts and run as 'one dir', and includes the aspects of registering the app and uninstalling it when requested. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
There's not really any such thing as a cross platform installer tool because there's not really any such thing as a cross platform installation user flow.
|
Beta Was this translation helpful? Give feedback.
-
We managed to create iInstallBuilder installers for the pyinstaller generated packages but can't use them for our project because InstallBuilder is not open source. Anybody knows of a cross platform open source installer that we can use with the pyinstaller generated packages? All that is required is to unzip the file at the appropriate directory, set path to the binary, and handling whatever security and permission requirements the system has. |
Beta Was this translation helpful? Give feedback.
-
The installers I created with InstallBuilder handled it with no problem on windows/osx/linux, I run the installer and the app was in my path. On osx for example, my account is configured to use bash instead of the default zsh and it worked nevertheless. All I had to specify was to include the install dir to the path. InstallBuilder also picked the correct install dirs. That's the kind of magic I expect from an installer, similar to the magic that pyinstaller does. |
Beta Was this translation helpful? Give feedback.
-
I just checked, it adds this to the bottom of my ~/.bashrc (and possibly to other places?) and doesn't delete it when I delete or uninstall the app.
|
Beta Was this translation helpful? Give feedback.
-
We realized that the requirements for using the same installer builder for all three platforms and is over constraint and now using a different one for each of the three platforms, with good results. |
Beta Was this translation helpful? Give feedback.
There's not really any such thing as a cross platform installer tool because there's not really any such thing as a cross platform installation user flow.