From 1174b6c34416f15b5b5d758fd4fa06b8d47d7bbf Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 10 Mar 2025 14:25:29 +0100 Subject: [PATCH] install all python files to platlib A single python package should not be split between purelib and platlib. Install everything into platlib as before. This is a partial revert of commit ecd43ab512e7 ("install python modules to purelib and platlib"). --- Makefile.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 1741ee7..f8fe290 100644 --- a/Makefile.in +++ b/Makefile.in @@ -163,13 +163,11 @@ install-py: _snack.$(SOEXT) ifneq ($(PYTHONVERS),) @for ver in $(PYTHONVERS); do \ PLATLIB=`$$ver -c "import sysconfig; print(sysconfig.get_path('platlib'))"`; \ - PURELIB=`$$ver -c "import sysconfig; print(sysconfig.get_path('purelib'))"`; \ [ -d $(instroot)/$$PLATLIB ] || install -m 755 -d $(instroot)/$$PLATLIB ;\ - [ -d $(instroot)/$$PURELIB ] || install -m 755 -d $(instroot)/$$PURELIB ;\ echo install -m 755 $$ver/_snack.$(SOEXT) $(instroot)/$$PLATLIB;\ install -m 755 $$ver/_snack.$(SOEXT) $(instroot)/$$PLATLIB;\ - echo install -m 644 snack.py $(instroot)/$$PURELIB;\ - install -m 644 snack.py $(instroot)/$$PURELIB;\ + echo install -m 644 snack.py $(instroot)/$$PLATLIB;\ + install -m 644 snack.py $(instroot)/$$PLATLIB;\ done endif -- 2.47.3