From 1183aed3f5c984cc164681e94ceb9ad3c3f9c42b Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 25 Jan 2026 15:01:55 +0100 Subject: [PATCH] Revert "scripts: Add __init__.py" This reverts commit 98188eab23fb05ca8ea5d59715af41c4895ed14e. __init__.py alone is not enough to resolve the jw module in all circumnstances, so go back to the old symbolic links solution. Signed-off-by: Jan Lindemann --- scripts/Makefile | 4 +--- scripts/__init__.py | 2 -- scripts/jw | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 scripts/__init__.py create mode 120000 scripts/jw diff --git a/scripts/Makefile b/scripts/Makefile index 4fad74a0..44e2f969 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,7 +1,5 @@ TOPDIR = .. -EXE_SH += $(wildcard jannet jcs) -DONT_INSTALL = __init__.py - include $(TOPDIR)/make/proj.mk +EXE_SH += $(wildcard jannet jcs) include $(JWBDIR)/make/scripts.mk diff --git a/scripts/__init__.py b/scripts/__init__.py deleted file mode 100644 index 9ae12617..00000000 --- a/scripts/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -import sys, os -sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + '/../src/python')) diff --git a/scripts/jw b/scripts/jw new file mode 120000 index 00000000..b4710af0 --- /dev/null +++ b/scripts/jw @@ -0,0 +1 @@ +../src/python/jw \ No newline at end of file