scripts: Add __init__.py

$(TOPDIR)/scripts contains a symbolic link jw -> ../src/python/jw, to
allow jw-python.py access to the in-repo module jw.pkg. Should be
fine now even on Windows, OTOH, it's also solvable via __init__.py,
so do that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-01-19 13:20:14 +01:00
commit 98188eab23
3 changed files with 5 additions and 2 deletions

2
scripts/__init__.py Normal file
View file

@ -0,0 +1,2 @@
import sys, os
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__) + '/../src/python'))