File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ To use debug information in PySCIPOpt you need to build it with the following co
160
160
161
161
.. code-block ::
162
162
163
- python -m pip install --install-option="--debug" .
163
+ export PYSCIPOPT_DEBUG=True
164
+ python -m pip install .
164
165
165
166
.. note :: Be aware that you will need the debug library of the SCIP Optimization Suite for this to work
166
167
(cmake .. -DCMAKE_BUILD_TYPE=Debug).
Original file line number Diff line number Diff line change 62
62
extra_link_args .append (f"-Wl,-rpath,{ libdir } " )
63
63
64
64
# enable debug mode if requested
65
- if "--debug" in sys . argv :
65
+ if os . environ . get ( "PYSCIPOPT_DEBUG" ) == True :
66
66
extra_compile_args .append ("-UNDEBUG" )
67
- sys .argv .remove ("--debug" )
68
67
69
68
use_cython = True
70
69
You can’t perform that action at this time.
0 commit comments