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