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
Metadata
Release files for mmeson 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mmeson-0.2.0.tar.gz | 23.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mmeson-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.7 kB
Release files / mmeson-0.2.0.tar.gz
| Download URL | mmeson-0.2.0.tar.gz |
|---|---|
| Size | 23.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e07e10b66d3464c38565b82441a14dd1941c4461910e4c86be10739cf9967a5a
|
|
BLAKE2b-256 checksum How to use checksums |
3be539eea574f6c384b2ac3b9654fecb67b38fea6c7f07b2c5581957c4c74953
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / mmeson-0.2.0-py3-none-any.whl
| Download URL | mmeson-0.2.0-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13ce61fcdc034e8d464fd6cee2ea37fb67a2219fcb3da18854b40a64a9a5d2a0
|
|
BLAKE2b-256 checksum How to use checksums |
31619674cac5f6a222f15bbedfbc386ccf58afb4e506e20deab5908ba0addc77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|