Goal
I've written a simple python application and I want to build it in a way such that I can email it to a non-technical person using a Mac OS machine such that they can just download the file and double click it to run.
What I've tried so far
I've built a single file executable using pyinstaller, but when I email it and download it, the file doesn't have permission to be executed. I know that this can be fixed with chmod, but the goal is for a non-technical person to be able to just double click to run.
I've also tried creating a "installation file" that's just a file with a .command file extension that is essentially this:
#!/bin/bash
cd -- "$(dirname "$BASH_SOURCE")"
sudo chmod a+x MyApplication
exit 0
But this has the same problem as above - the file doesn't have permission to be run by default.
Is there something simple that I'm missing? I'm open to not necessarily having to email the app, but I do need a simple way to share it.