Once you've got a pile of files that need to be moved to other machine en masse, you're out of PyInstaller's domain. You need to look at NSIS or MSI or Inno Setup or one of the other packages that put all those files into an installer that can then be shipped to end users. I've used all three of those mentioned, and I'd say Inno Setup is the easiest to get started with.
Of course, you could always "go cheap" and just put everything into a .zip and tell your users, "unzip this somewhere, then click on the .exe..." Above mentioned installers basically do exactly this, plus give you a good mechanism to create shortcuts with icons, set registry entries and all that fancy stuff. On Wed, Jan 19, 2022 at 10:09 AM Blake D. <[email protected]> wrote: > Thank you, It works perfectly now after fixing the bug on line 103 of > host.py for wexpect and by using the instructions listed here, > https://github.com/raczben/wexpect/wiki/Wexpect-with-pyinstaller. > > I now have another question. The compiled folders of my script + wexpect > are full of many different files and I am curious of how I may be able to > compress all this down to a single .exe file or to a few of them? Since I > can't use the "onefile" feature of pyinstaller due to wexpect, I am now > looking for an alternative way to have the minimal amount of required files > in order to properly run my script on a new windows environment that > doesn't have python. > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/CAP2Qz%2BU%2Bd-o_EAkJi_bGH8CPMgW9QLf6HK%3DrNkJdSSV8COnqRA%40mail.gmail.com.
