From: Miroslav Lichvar Date: Mon, 10 Mar 2025 13:25:29 +0000 (+0100) Subject: install all python files to platlib X-Git-Tag: r0-52-25~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1174b6c34416f15b5b5d758fd4fa06b8d47d7bbf;p=thirdparty%2Fnewt.git 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"). --- 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