Use bboxes and transforms to manage zooming
[oscopy.git] / ioscopy_app.sh
blob9d6fd2bb057bd801345092b94d607bacadc4cd7a
1 #!/bin/sh
2 #-*-Shell-*-
4 IPYTHON=ipython
5 IOSCOPY=ioscopy
7 $IPYTHON profile list --log-level=40 | grep $IOSCOPY > /dev/null
9 if [ $? -ne 0 ]; then
10 echo IPython $IOSCOPY profile not found, creating it...
11 $IPYTHON profile create $IOSCOPY
12 profd=`$IPYTHON --profile=ioscopy --no-banner --quiet --no-confirm-exit --classic<< EOF| grep /
13 ip=get_ipython()
14 print "\n" + ip.profile_dir.location + "\n"
15 EOF`
16 echo $profd
17 cp @datarootdir@/oscopy/ipython_config.py $profd
19 $IPYTHON --profile=$IOSCOPY --no-banner --automagic