Post not yet marked as solved
Post marked as unsolved with 2 replies, 549 views
Hi, I develop a desktop GUI application. This application is written in Python and is cross-platform. I have tried to sign and notarize the Mac .dmg installer for months, but for now without any success. Below I have prepared a small example of the kind of code I need to notarize and sign.
Thanks in advance for your help!
Miloš
MVP:
MVP (Minimum viable product) = pack .dmg + sign + notarize basic portable Py runtime (portable conda based) with “Hello world” in Tk runtime.
To create (and run) the MVP code, run this in console (requires echo, curl and .tar.xz compression support - usually built-in in MacOS):
cat > test.py << EOF
from tkinter import *
from tkinter import ttk
root = Tk()
frm = ttk.Frame(root, padding=10)
frm.grid()
ttk.Label(frm, text="Hello World!").grid(column=0, row=0)
ttk.Button(frm, text="Quit", command=root.destroy).grid(column=1, row=0)
root.mainloop()
EOF
curl https://files.sdat.solargis.com/venv3.9_mac_amd64.tar.xz | tar xvJf -
. ./venv3.9/bin/activate2
python test.py # this runs the MVP app
Pls, I need to know HOW to create a signed + notarized .dmg installer of the program above in the automated way.