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