From 9be6b7b91487470bd15895184c500a4771edd0c0 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 3 May 2019 03:04:40 +0200 Subject: guiconfig: Add a Tkinter-based menuconfig This is a graphical configuration interface written in Tkinter. Like menuconfig.py, it supports showing all symbols (with invisible symbols in red) and jumping directly to symbols. Symbol values can also be changed directly from the jump-to dialog. When single-menu mode is enabled, a single menu is shown at a time, like in the terminal menuconfig. Only this mode distinguishes between symbols defined with 'config' and symbols defined with 'menuconfig'. Compatible with both Python 2 and Python 3. Has been tested on X11, Windows, and macOS. To avoid having to carry around a bunch of GIFs, the image data is embedded in guiconfig.py. To use separate GIF files instead, change _USE_EMBEDDED_IMAGES to False. The image files can be found in https://github.com/ulfalizer/Kconfiglib/tree/screenshots/guiconfig. A new `make guiconfig` target in the Makefile patch will run the GUI configuration interface on the Linux kernel. --- setup.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 1d7ef62..803a3b9 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ setuptools.setup( py_modules=( "kconfiglib", "menuconfig", + "guiconfig", "genconfig", "oldconfig", "olddefconfig", @@ -47,6 +48,7 @@ setuptools.setup( entry_points={ "console_scripts": ( "menuconfig = menuconfig:_main", + "guiconfig = guiconfig:_main", "genconfig = genconfig:main", "oldconfig = oldconfig:_main", "olddefconfig = olddefconfig:main", -- cgit v1.2.3