ccmake for Meson projects
Project description
mmeson
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
- Python3 >=3.9
urwid
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
TABwhen editing strings / arrays - Unit tests and coverage report
- More elaborate error handling (e.g. array with choices)
- Fix workaround for colored output
License
- Code: EUPL-1.2
- Documentation: CC-BY-SA-4.0
Notable mentions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e07e10b66d3464c38565b82441a14dd1941c4461910e4c86be10739cf9967a5a
|
|
| MD5 |
820602ba66d1f90f1c5e48018a2244d1
|
|
| BLAKE2b-256 |
3be539eea574f6c384b2ac3b9654fecb67b38fea6c7f07b2c5581957c4c74953
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13ce61fcdc034e8d464fd6cee2ea37fb67a2219fcb3da18854b40a64a9a5d2a0
|
|
| MD5 |
d3f82088dd165b24ce023b2f60bf2a52
|
|
| BLAKE2b-256 |
31619674cac5f6a222f15bbedfbc386ccf58afb4e506e20deab5908ba0addc77
|