From a8ea5fe27df94972b2625a24a967f32a6d530f57 Mon Sep 17 00:00:00 2001 From: Will Ayd Date: Thu, 22 Aug 2024 16:41:17 -0400 Subject: [PATCH] Meson documentation cleanups --- docs/meson.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/meson.rst b/docs/meson.rst index 127709ce..b4914b2b 100644 --- a/docs/meson.rst +++ b/docs/meson.rst @@ -26,17 +26,23 @@ pyproject.toml file: .. code-block:: toml + [project] + name = "my_project_name" + dynamic = ['version'] + [build-system] requires = ['meson-python'] build-backend = 'mesonpy' In your project root, you will also want to create the subprojects folder -that Meson can install into, before using ``meson wrap``: +that Meson can install into. Then you will need to install the wrap packages +for both nanobind and robin-map: .. code-block:: sh mkdir -p subprojects + meson wrap install robin-map meson wrap install nanobind The ``meson.build`` definition in your project root should look like: @@ -46,6 +52,7 @@ The ``meson.build`` definition in your project root should look like: project( 'my_project_name', 'cpp', + version: '0.0.1', ) py = import('python').find_installation()