How can I package a python tkinter application?

the flatpak manifest of scribus

Inkscape

and the module they use

you can search in manifest here