From: Julian Gilbey Date: Mon, 5 Sep 2022 20:56:24 +0000 (+0100) Subject: Build extensions directly from setup.py X-Git-Tag: archive/raspbian/2.8.0+git20220826.8ee4065+ds-1+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc02d7ec6e8119f7fc707955429e88e43717144c;p=pydevd.git Build extensions directly from setup.py Forwarded: https://github.com/fabioz/PyDev.Debugger/issues/160 Last-Update: 2022-06-17 The original system has two separate setup.py files, and we need to run the other one manually, as only one of the two extensions is built in setup.py. This patch moves the extension building into the standard setup.py. Gbp-Pq: Name build_both_extensions.patch --- diff --git a/setup.py b/setup.py index 1dab024..215bd94 100644 --- a/setup.py +++ b/setup.py @@ -152,7 +152,13 @@ try: ["_pydevd_bundle/pydevd_cython.c", ], define_macros=[('Py_BUILD_CORE_MODULE', '1')], **kwargs - ) + ), + Extension( + '_pydevd_frame_eval.pydevd_frame_evaluator', + ["_pydevd_frame_eval/pydevd_frame_evaluator.c", ], + define_macros=[('Py_BUILD_CORE_MODULE', '1')], + **kwargs + ), ] )) setup(**args_with_binaries)