source: install/g2pkg/post-link.bat @ 4701

Last change on this file since 4701 was 4701, checked in by toby, 2 years ago

testing w/gsas2pkg win update

File size: 968 bytes
1REM echo "Install GSAS-II from APS subversion server" %PREFIX%\.messages.txt
2mkdir "%PREFIX%\GSASII"
3REM# create bootstrap batch file
4echo REM Commands to run GSAS-II load/update process > "%CONDA_ROOT%\start_G2_bootstrap.bat"
5echo call %CONDA_ROOT%\Scripts\activate %CONDA_DEFAULT_ENV% >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
6echo python %PREFIX%\GSASII\ >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
7REM# install and run the bootstrap
8copy "%PREFIX%\Scripts\" "%PREFIX%\GSASII\"
9set "python=%PREFIX%\python.exe"
10set "script=%PREFIX%\GSASII\"
11"%python%" "%script%" > "%PREFIX%\GSASII\bootstrap_out.log"
12REM# create start GSAS-II batch file
13echo REM Commands to run GSAS-II load/update process > %CONDA_ROOT%\start_GSASII.bat
14echo call %CONDA_ROOT%\Scripts\activate %CONDA_DEFAULT_ENV% >> %CONDA_ROOT%\start_GSASII.bat
15echo python %PREFIX%\GSASII\ >> %CONDA_ROOT%\start_GSASII.bat
17set errorlevel=0
18exit 0
Note: See TracBrowser for help on using the repository browser.