- labels: --> old-gridshell
included some comments for thought. Low priority. For now we leave it as is:
+pwd
+
+
+echo "Fetching IPython."
+wget --tries=3 -N http://ipython.scipy.org/dist/ipython-0.8.2.tar.gz
+
+echo "Unpacking IPython"
+tar -xvf ./ipython-0.8.2.tar.gz
+
+echo "Fetching JPypye"
+wget --tries=3 -N http://superb-east.dl.sourceforge.net/sourceforge/jpype/JPype-0.5.3.zip
+
+echo "Unpacking JPype"
+unzip ./JPype-0.5.3.zip
+python ./JPype-0.5.3/setup.py install
+
+echo "Installing GridShell files"
+mv ./GridShell ./ipython-0.8.2/IPython/
+
+# Make properites and config file for INSTALL_DIR,
JAVA_DIR
###########
>>>>> test if the next thing already exists and ask if it should be overwritten. This allws to run this multiple times. This is importnat in case a new version of ipythn or jpipe become available
###############
+mkdir $HOME/.gridshell
+#Make gridshell.prop file
+echo "[PROPERTIES]" >> $HOME/.gridshell/gridshell.prop
+echo "objIdCount:0" >> $HOME/.gridshell/gridshell.prop
+echo "sessIdCount:0" >> $HOME/.gridshell/gridshell.prop
+
+
###########
>>>>> test if the next thing already exists and ask if it should be overwritten. This allws to run this multiple times. This is importnat in case a new version of ipythn or jpipe become available
###############
+#Construct config file
+jvmPath=$(python ./JPype-0.5.3/src/python/jpype/findjvm.py)
+echo "JVM believed to be at: ${jvmPath}"
+echo "[CONFIGURATION]" >> $HOME/.gridshell/gridshell.conf
+echo "install_dir:$(pwd)" >> $HOME/.gridshell/gridshell.conf
+echo "jvm_path:${jvmPath}" >> $HOME/.gridshell/gridshell.conf
+
+echo "Configured GridShell"