ptpython/link.sh
2021-10-07 09:07:01 +02:00

10 lignes
265 B
Bash
Fichiers exécutables

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/python3.9/site-packages/$lib
ln -s ../../../../$path venv/lib/python3.9/site-packages/
fi
done