Skip to content

Commit df0c86d

Browse files
author
Martin Belanger
committed
PyPI: add meson options to build without nvme executable
Now that nvme-cli and libnvme live in the same GitHub repository, meson builds both by default. When building the PyPI package, however, we only want to build libnvme and the Python bindings, not the nvme executable. Signed-off-by: Martin Belanger <[email protected]>
1 parent e9b11a7 commit df0c86d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,10 @@ dependencies = []
3131
"Homepage" = "https://github.com/linux-nvme/nvme-cli"
3232
"Source" = "https://github.com/linux-nvme/nvme-cli"
3333
"Bug Tracker" = "https://github.com/linux-nvme/nvme-cli/issues"
34+
35+
[tool.meson-python.args]
36+
setup = [
37+
"-Dnvme=disabled",
38+
"-Dlibnvme=enabled",
39+
"-Dpython=enabled",
40+
]

0 commit comments

Comments
 (0)