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.1.0a3.tar.gz (61.4 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.1.0a3-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file mesonconfig-0.1.0a3.tar.gz.

File metadata

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

File hashes

Hashes for mesonconfig-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 82eddd62b1bb1c192c36e77bcdbfc3809359e113581f2c8ecdac7bc624d9d7e8
MD5 b2948b7942f1c05384b681c76b65e401
BLAKE2b-256 3f6baad34ac217766445e4d02df8bb4788f78babf500c31d67f27e837b57d0ac

See more details on using hashes here.

File details

Details for the file mesonconfig-0.1.0a3-py3-none-any.whl.

File metadata

  • Download URL: mesonconfig-0.1.0a3-py3-none-any.whl
  • Upload date:
  • Size: 54.6 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.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc121337fdb352c47f1e6cc4e3040e888f65bb0f0eda685905359df574bbe8dd
MD5 c08c676ddba940531a8a3b1b4464ce8f
BLAKE2b-256 ef244038e450d4bb7bdfb4efaaac25a25bfa86628d455ef5ed047a9d31eef04e

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