2018-04-26 23:19:17 +04:00
|
|
|
#!/bin/bash
|
|
|
|
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
|
|
|
if [ -z "$NULIBDIR" -o "$NULIBDIR" != "$NULIBINIT" ]; then
|
|
|
|
# charger nulib si ce n'est pas déjà le cas
|
2018-09-25 14:24:29 +04:00
|
|
|
source "$(dirname -- "$0")/../load.sh"
|
2018-04-26 23:19:17 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DEFAULT_PYTHON=python2.7
|
|
|
|
|
|
|
|
#
|
|
|
|
echo ">>> Shell Python pour nulib"
|
2018-09-25 14:24:29 +04:00
|
|
|
exec "${PYTHON:-$DEFAULT_PYTHON}" -i -c "$(<"$MYDIR/pshell.py")"
|