Skip to main content

Python binding to meson build system

Project description

Nosem build system

Nosem is tiny overlay to Meson.

While you call meson to interpret you meson.build file, with nosem you directly invoke your build.py.

This inverted process removes many limitations from meson and you are free to use any python library directly.

The whole scripting part of meson is bypassed

Meson

meson.build:

project('myproj', 'cpp')
executable('example', 'main.cpp')
meson build
cd build && ninja

Nosem

nosem.build.py:

from nosem import project, executable

project('myproj', 'cpp')
executable('example', 'main.cpp')
nosem build
cd build && ninja

API

The API is exactly the same as meson available here. It defers only in the syntax, nosem.build.py files are pure python.

How it works

The meson.build script interpretation is bypassed, simply replaced by a python module loading.

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

nosem-0.0.2.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

nosem-0.0.2-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

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