Is there a pip command line option for a debug build PyQt6_sip?

Phil Thompson phil at riverbankcomputing.com
Thu Jul 27 18:14:56 BST 2023


On 27/07/2023 17:56, John Ehresman wrote:
> I’m able to build a debug / pydebug build of PyQt6_sip by unpacking
> the .tar.gz, adding [build]\ndebug=true to setup.cfg, and then using
> pip install with the directory name.
> 
> Is there an option to pass to pip install when using the .tar.gz to
> set debug to true? I use a script to build and would rather just add a
> command line argument than to script the unpacking, editing, etc.
> 
> I’ve noticed that some packages such as pillow now default to debug
> builds if pip is run with a debug build of python — to use win32
> command names, python.exe -m pip install builds/installs a release
> build and python_d.exe -m pip install builds/installs a debug build.

The sip-* frontends all support a '--debug' flag. If you are using pip 
you can pass the flag via a pip flag (sorry I can't remember the details 
off the top of my head).

Phil


More information about the PyQt mailing list