jw-pkg/scripts/__init__.py
Jan Lindemann 98188eab23 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>
2026-01-20 14:56:08 +01:00

2 lines
97 B
Python

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