ptpython/make.d/init.mk

16 lines
356 B
Makefile
Executable File

.ONESHELL:
SHELL = /usr/bin/bash
.SILENT:
localinit:
echo "* Linking pylibs to venv"
for path in `find pylibs/ -maxdepth 1 -type d`; do
if [[ $path != "pylibs/" ]];then
lib=${path#*/}
echo Creating symbolic link for library $lib
rm -f venv/lib/python*/site-packages/$lib
ln -s ../../../../$path venv/lib/python*/site-packages/
fi
done