source: install/g2complete/post-link.bat @ 4749

Last change on this file since 4749 was 4704, checked in by toby, 3 years ago

now work on g2complete

  • Property svn:executable set to *
File size: 1.1 KB
[4704]1echo "Complete installation GSAS-II and update from APS subversion server, if on network"
[3910]2set "python=%PREFIX%\python.exe"
3set "updatescript=%PREFIX%\GSASII\"
[4704]4REM create bootstrap batch file
5echo REM Commands to run GSAS-II load/update process > "%CONDA_ROOT%\start_G2_bootstrap.bat"
6echo call %CONDA_ROOT%\Scripts\activate %CONDA_DEFAULT_ENV% >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
7echo python %PREFIX%\GSASII\ >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
[3934]8REM "install" the GSAS-II package (create shortcuts, byte-compile...)
[4227]9call "%PREFIX%\Scripts\Activate"
[4233]10"%python%" "%updatescript%" --nonet > "%PREFIX%\GSASII\InstallLog.txt"
[3934]11REM Now try to update to latest GSAS-II version (will fail if no network)
[4233]12"%python%" "%updatescript%" --noinstall > "%PREFIX%\GSASII\UpdateLog.txt"
[4704]13REM# create start GSAS-II batch file
14echo REM Commands to run GSAS-II load/update process > "%CONDA_ROOT%\start_GSASII.bat"
15echo call %CONDA_ROOT%\Scripts\activate %CONDA_DEFAULT_ENV% >> "%CONDA_ROOT%\start_GSASII.bat"
16echo python %PREFIX%\GSASII\ >> "%CONDA_ROOT%\start_GSASII.bat"
17REM pause
[3910]18set errorlevel=0
19exit 0
Note: See TracBrowser for help on using the repository browser.