From 49b8c8c172ddee8aef7b3c831e2063559cf4ee53 Mon Sep 17 00:00:00 2001 From: Julian Gilbey Date: Mon, 8 Aug 2022 20:07:18 +0100 Subject: [PATCH] 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 --- setup.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.30.2