I am creating a desktop app with PyQt5 then making it executable with the pyinstaller, but I want to create an installation so that when I share just an exe file, people can first install dependencies, then run the app. Pyinstaller creates dist and builds folders on my PC, and I want this app to create these required folders on the other computer when exe file is used; what I want to do is make the app have a set-up so that all the dependencies will be installed for others. I searched on the internet but couldn't find a way to do it.
You can use pyinstaller with following command
pyinstaller --onefile --windowed myscript.py
this will create single exe file in dist folder see this for more info https://pyinstaller.org/en/stable/operating-mode.html#bundling-to-one-folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With