To distribute your app, you want to have a single executable program instead of source code. This is easier than giving users many Python files.
Why? A user can start your app with a single click. On Windows it’s a .exe. On Mac OS X it’s a .dmg
Download PyQt examples
You can use fbs to create a program that can be run.
sudo apt3 install python3-venv
Then you’ll be asked for name of the app and the author
App name [MyApp] : hello
Take a look at the file
/venv/src/main/python/main.py. That’s the source code for your program.
fbs run to start the program.
You start apps from a binary. On Windows thats a .exe, on Mac that’s a .dmg
To make a standalone executable type
It then creates the program in
target/. If you named the app hello, it’s
Software is always installed using an installer. You can create your own installer with the command
On Windows and Mac this will create a graphical setup program (setup wizard).
On Linux it creates a package file (.deb, .rpm), that can be installed with the package manager.