py-defs.mk: Honour PY_INSTALL_INIT_PY = false #75

Merged
Jan Lindemann merged 1 commit from jan/feature/20260822-py-defs-mk-honor-py-install-init-py-false into master 2026-08-22 10:20:22 +02:00 AGit

View file

@ -20,7 +20,7 @@ else
endif
PY_SRC_PY ?= $(wildcard *.py)
PY_ALL_PY = $(PY_SRC_PY)
PY_ALL_PY = $(filter-out __init__.py,$(PY_SRC_PY))
ifneq ($(PYTHON_MAJOR),3)
PY_PYC = $(patsubst %.py,%.pyc,$(PY_ALL_PY))