Skip to main content

Menuconfig-like Text user Interface for configuring Meson projects.

Project description

Mesonconfig

Mesonconfig is a terminal-based configuration tool for Meson projects, inspired by the Linux menuconfig interface. It provides an interactive way to manage configuration options defined in a KConfig-style file and generate usable outputs.

This project is in alpha.

Installation

pip install mesonconfig

Or install from source:

git clone https://github.com/Stellcel-Remeny/mesonconfig
cd mesonconfig
pip install -e .

Quick Start

Run Mesonconfig in a directory containing a KConfig file:

mesonconfig

Defaults:

  • Input: KConfig
  • Output: local.conf

Features

  • Interactive terminal UI (Textual-based)

  • KConfig-style configuration system

  • Nested menus and dependency handling

  • Supports:

    • Boolean options
    • String options
    • Integer options
  • Generate meson_options.txt for Meson

CLI Overview

mesonconfig [OPTIONS] [kconfig_file]

Options

Option Description
--kconfig-file <file> Path to KConfig file
--output-file <file> Output config file
--build-meson-options Generate meson_options.txt
--verbose Enable debug messages
--version Show version

For more, view --help

TUI Controls

  • Arrow keys -> Navigate
  • Enter / Space -> Select / toggle
  • ESC -> Back
  • ESC ESC -> Exit

Status & Stability

This project is currently in alpha:

  • Features may change
  • Bugs are expected
  • Interfaces are not yet stable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mesonconfig-0.2.0a1.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mesonconfig-0.2.0a1-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

Details for the file mesonconfig-0.2.0a1.tar.gz.

File metadata

  • Download URL: mesonconfig-0.2.0a1.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mesonconfig-0.2.0a1.tar.gz
Algorithm Hash digest
SHA256 f561c86ef13c58a244dd4a6975bca43cc6905cb2bff37fec16ab47bb26486327
MD5 a0602a61ce950799a40c804745fed3b0
BLAKE2b-256 ae83b868818a72ca5a5d838f7f363dd00a26626e3267fc2fa9811a73718f82ed

See more details on using hashes here.

File details

Details for the file mesonconfig-0.2.0a1-py3-none-any.whl.

File metadata

  • Download URL: mesonconfig-0.2.0a1-py3-none-any.whl
  • Upload date:
  • Size: 63.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mesonconfig-0.2.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 f56b1257725c7e8e766beb772555f902fff5b40c44fe98b224d881b5a5a4bdd1
MD5 cf729c99c0b34e6d09a4a6a4783b5122
BLAKE2b-256 b1a4deee5146cbed25d5c452a50ba03b36c611a42a679c1187f80e289e615711

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page