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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file nosem-0.0.2.tar.gz.

File metadata

  • Download URL: nosem-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for nosem-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0c8b6271292df245f55dcadf390e7e26a206c2194815ba92e8674149107bed2b
MD5 f8e7d8d3c8a41c014243e4561848a705
BLAKE2b-256 f2fd4a2e480cd4aa43ded3d6705974f7b2939ed25292bc9dc0e20e1d695f297b

See more details on using hashes here.

File details

Details for the file nosem-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nosem-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for nosem-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6de15cf377d8e16cf918fa751c9421945936fcede565a2ecbd2580c915a8531f
MD5 7b7b5a7fa06c1d3096b0f7ed798d393a
BLAKE2b-256 2abeeeff651564152dac39d9752c604adb2d77ec80557b0f16b953f57470a3f5

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