I have an answer to my question, but I hope someone can come up with something less complicated. The solution I came across is a Python script to create an AppleScript (ugh!), Compile it into a package and then modify the package to change the allowed file extensions, icon, etc.
I did not find a way to make drag-and-drop work when running the wxpython script without AppleScript (or using py2app), and I could not get AppleScript to work in the bundle that I created, use osacompile to create the package for me.
I like the more convenient approach here or here , where you create the plist file βmanuallyβ, and not modify the externally created one, as I am here, but below the script does the job.
Is there anyone better way to do this without using py2app?
source share