niess / python-appimage

AppImage distributions of Python
https://python-appimage.readthedocs.io/en/latest/
GNU General Public License v3.0
176 stars 25 forks source link

Does it include Tkinter? (Python's standard GUI) #4

Closed ghost closed 4 years ago

ghost commented 4 years ago

As Tkinter is Python's de facto standard GUI, and always bundled in Python distributions for MS Windows, I expect it should be bundled inside this AppImage

Think, it may require also bundle Tcl/Tk inside this AppImage too, as not all Linux now distributed with Tcl/Tk.

niess commented 4 years ago

@Symbian9 Yes tkinter is bundled as well as its deps: libtcl, libtk and their data (under usr/share/tcltk). For example, with a python3 AppImage, you can try:

from tkinter import Tk
Tk()

Note that depending on the manylinux tag (1, 2010 or 2014) different versions of Tcl/Tk are bundled (8.4 or 8.5).