Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing robin-map installation doc for meson #700

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/meson.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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()
Expand Down