From 8490241a3de59c617f7e4474005f640ba89d6dcd Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 1 Jun 2026 12:40:30 +0200 Subject: [PATCH] jw.pkg.__init__.py: Add file to Git Add an empty __init__.py in jw.pkg to version control because, before a build is through, it's needed for running jw-pkg.py from source. Without it, with the jw now a namespace container and empty as such, as long as src/python/jw/pkg/__init__.py is not yet created by make all, /usr/lib64/python3.x/site-packages/jw/pkg will take precedence before src/python/jw/pkg. So, if jw-pkg-run is installed regularly, the source tree remains unused. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/Makefile | 2 ++ src/python/jw/pkg/__init__.py | 0 2 files changed, 2 insertions(+) create mode 100644 src/python/jw/pkg/__init__.py diff --git a/src/python/jw/pkg/Makefile b/src/python/jw/pkg/Makefile index 59b3ac1f..8785ac23 100644 --- a/src/python/jw/pkg/Makefile +++ b/src/python/jw/pkg/Makefile @@ -1,4 +1,6 @@ TOPDIR = ../../../.. +PY_UPDATE_INIT_PY ?= false + include $(TOPDIR)/make/proj.mk include $(JWBDIR)/make/py-mod.mk diff --git a/src/python/jw/pkg/__init__.py b/src/python/jw/pkg/__init__.py new file mode 100644 index 00000000..e69de29b