Skip to main content

ccmake for Meson projects

Project description

mmeson

REUSE status CI status

TUI to configure Meson projects similar to ccmake for CMake projects

Installation

Via pip

pip install mmeson

Running

python3 -m mmeson path/to/builddir

It is not need to run it in the project's source folder, however you need to setup the project beforehand.

Changed items will start with a star, press enter to edit a filed and enter to exit editing (except fields of type boolean or combo). Press c to configure and exit and q to exit without configuring.

Note: you can always set options via meson configure path/to/builddir -Doption=value in addition to mmeson. This does not reconfigure the project though, this needs to be done via meson setup --reconfigure path/to/builddir. When exiting mmeson with c, it combines both of these steps, while exiting with g does not reconfigure the project. Note that this will happen automatically though when you run meson compile.

Dependencies

Contributing

Contributions are welcome, the code is well documented, especially the TUI part. You can find documentation of the internal function and classes here.

ToDo-List

  • Custom Widget for array editing (instead of writing string only edit array entries)
  • Search function for build option
  • Path completion via TAB when editing strings / arrays
  • Unit tests and coverage report
  • More elaborate error handling (e.g. array with choices)
  • Fix workaround for colored output

License

Notable mentions

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

mmeson-0.2.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

mmeson-0.2.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file mmeson-0.2.0.tar.gz.

File metadata

  • Download URL: mmeson-0.2.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for mmeson-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e07e10b66d3464c38565b82441a14dd1941c4461910e4c86be10739cf9967a5a
MD5 820602ba66d1f90f1c5e48018a2244d1
BLAKE2b-256 3be539eea574f6c384b2ac3b9654fecb67b38fea6c7f07b2c5581957c4c74953

See more details on using hashes here.

File details

Details for the file mmeson-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: mmeson-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for mmeson-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13ce61fcdc034e8d464fd6cee2ea37fb67a2219fcb3da18854b40a64a9a5d2a0
MD5 d3f82088dd165b24ce023b2f60bf2a52
BLAKE2b-256 31619674cac5f6a222f15bbedfbc386ccf58afb4e506e20deab5908ba0addc77

See more details on using hashes here.

Supported by

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