1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Emmanuel Arias <eamanu@yaerobi.com>
Date: Mon, 6 Jun 2022 15:37:43 -0300
Subject: Point to the debianize scalene-gui path.
scalene-gui is installed in /usr/share/python3-scalene. This patch
update the path to scalene-gui.
---
scalene/scalene_profiler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scalene/scalene_profiler.py b/scalene/scalene_profiler.py
index 3f5fe14..bc53e6a 100644
--- a/scalene/scalene_profiler.py
+++ b/scalene/scalene_profiler.py
@@ -618,7 +618,7 @@ class Scalene:
Scalene.__signal_manager.get_signals().set_timer_signals(
Scalene.__args.use_virtual_time
)
- Scalene.__profiler_base = str(os.path.dirname(__file__))
+ Scalene.__profiler_base = "/usr/share/python3-scalene"
if Scalene.__args.pid:
# Child process.
# We need to use the same directory as the parent.
|