source: install/g2full/ @ 4845

Last change on this file since 4845 was 4759, checked in by toby, 3 years ago

wx4.1 & mpl3.3 fixes

File size: 1.6 KB
2echo "Finish up GSAS-II installation, version **Version**"
3# create shortcut to bootstrap script =======================================================
4echo "# Commands to run GSAS-II load/update process" > $PREFIX/
5echo "source $PREFIX/bin/activate" >> $PREFIX/
6echo "$PREFIX/bin/python $PREFIX/GSASII/" >> $PREFIX/
7# constructor fixups: missing empty directories & changed binary files ======================
8mkdir -p $PREFIX/GSASII/.svn/tmp
9$PREFIX/bin/svn revert $PREFIX/GSASII/bindist/*
11# update the GSAS-II package if possible, create shortcuts & byte-compile... ================
12echo "launching bootstrap process"
13# try to update to latest GSAS-II version (will fail if no network)
14#$PREFIX/bin/python $PREFIX/GSASII/ --noinstall >> $PREFIX/GSASII/conda_inst.log 2>&1
15$PREFIX/bin/python $PREFIX/GSASII/ --noinstall
16# finish installation
17#$PREFIX/bin/python $PREFIX/GSASII/ --nonet > $PREFIX/GSASII/conda_inst.log 2>&1
18$PREFIX/bin/python $PREFIX/GSASII/ --nonet
19# create shortcut to start GSAS-II     =======================================================
20echo "# Commands to start GSAS-II" > $PREFIX/
21echo "source $PREFIX/bin/activate" >> $PREFIX/
22if [ -e $PREFIX/bin/pythonw ]
24   echo "$PREFIX/bin/pythonw $PREFIX/GSASII/" >> $PREFIX/
26   echo "$PREFIX/bin/python $PREFIX/GSASII/" >> $PREFIX/
28echo "GSAS-II installer, version **Version** completed"
29#MACOnly# echo "*** Viewing GSAS-II app in Finder; you may wish to drag it to the dock.***"
Note: See TracBrowser for help on using the repository browser.