You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a meson-python based project: PyGObject. PDM seems like a good tool to manage venvs and the installation process.
For Meson-python to work well, I enabled the --no-isolation option in pyproject.toml.
I want to make debug builds when building with PDM. When installing with pip, I use pip install --no-build-isolation --config-settings=setup-args="-Dbuildtype=debug" -e '.[dev]'. This allows me to create debug builds when developing PyGObject, while normal release builds are made when PyGObject is installed as a dependency.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm working on a meson-python based project: PyGObject. PDM seems like a good tool to manage venvs and the installation process.
For Meson-python to work well, I enabled the
--no-isolation
option inpyproject.toml
.I want to make debug builds when building with PDM. When installing with pip, I use
pip install --no-build-isolation --config-settings=setup-args="-Dbuildtype=debug" -e '.[dev]'
. This allows me to create debug builds when developing PyGObject, while normal release builds are made when PyGObject is installed as a dependency.Is there an alternative to pip's
--config-settings
option in PDM?(It may be more appropriate to support this from meson-python, but i have to start somewhere 😉 )
Beta Was this translation helpful? Give feedback.
All reactions