Open eabase opened 1 year ago
I've asked me the same question on how to pass --debug option to the backend build command to be able to compile in debug.
The following translation is working for me:
python_d setup.py bdist_wheel build --debug
into:
python_d -m build --wheel --no-isolation -C--build-option="build --debug"
Perhaps, you can try the following:
python -m build -C--global-option=--no-user-cfg -C--global-option=--verbose -C--build-option="build --compiler=mingw32 --force"
After a discussion here:
The best solution was to just copy (the now ignored) distutils.cfg
into your projects folder and name it setup.cfg
instead. (There is also another env variable solution, that I haven't tried yet.)
So no more dumb and contorted CLI option-option-options
... 👍
I'm trying to convert the following into something that is compatible with
python -m build ...
format.Following #202, and #517, I tried this:
This fails with:
I also tried without the
=
, that also works with setup.py.But also failed.
Finally tried this:
python -m build -n -w -C="--no-user-cfg" -C="--verbose" -C="--compiler=mingw32" -C="--force"
But that completely ignored the
mingw32
compiler.