Skip to content

Looking for recommended structure for separate C++ library and extension builds #661

Answered by dnicolodi
glennsweeney asked this question in Q&A
Discussion options

You must be logged in to vote

First, please note that the current organization of your repository is not compatible with distributing it as a source distribution using meson dist nor as a Python package source distribution created by meson-python. The first requires the root folder of the project to contain a meson.build file describing the project. The latter also requires the pyproject.toml file to be in the root folder of the project.

I'd like to preserve the ability to build a C++ library with Meson independent of a Python installation, but it'd also be awesome to be able to trigger a C++ build during Python installation to avoid tracking a separate system dependency

There isn't only one way in which you can ach…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by glennsweeney
Comment options

You must be logged in to vote
1 reply
@dnicolodi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants