Added support for tool.meson-python.env table in pyproject.toml#844
Added support for tool.meson-python.env table in pyproject.toml#844tobiasdiez wants to merge 1 commit intomesonbuild:mainfrom
tool.meson-python.env table in pyproject.toml#844Conversation
Co-authored-by: Copilot <copilot@github.com>
|
Why doesn't setting the |
|
Setting this in pyproject.toml implies that anyone who wants to use a different value must edit a source-controlled file, which feels a bit dubious. |
Since in some settings
Sure, you don't want to use it to set env variables that users/other devs likely need to modify. In this aspect, it's similar to the other meson config options that can be specified in |
|
I don't understand what you are trying to achieve. One one hand you say that using In general, encoding setup-specific configuration in the package metadata is not the right thing to do. And here it seems that you want to do precisely that. If in your setup you need to use Which, by the way, judging from the documentation, seems to be the recommended way to run |
|
I think I understand the motivation, however I agree that adding a I also checked |
Adds an env table as config option in the users
pyproject.toml. Those environment variables are used for all Meson/Ninja subprocesses.This makes it possible to set a reproducible set of env variables accross all builds (inital + editable rebuild). In my case, this was triggered by the desire to set
FORCE_PKGCONF_PYPI.