From 07e556da56860dd69cb70070b4afe47a6b9e4c14 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 30 Sep 2024 01:45:02 +0200 Subject: [PATCH] Removing building when testing current build. --- run.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 2fae168..0c2bda7 100644 --- a/run.py +++ b/run.py @@ -16,7 +16,7 @@ * along with this program. If not, see . """ from os import system, getcwd, path -from sys import path as sys_path +from sys import path as sys_path, argv def build(): """ @@ -29,7 +29,8 @@ def run(): logarithmplotter.run() if __name__ == "__main__": - build() + if '--test-build' not in argv: + build() logplotter_path = path.realpath(path.join(getcwd(), "build", "runtime-pyside6")) print("Appending " + logplotter_path + " to path...") sys_path.append(logplotter_path)