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

Last change on this file since 4702 was 4701, checked in by toby, 20 months ago

testing w/gsas2pkg win update

File size: 968 bytes
Line 
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\bootstrap.py >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
7REM# install and run the bootstrap
8copy "%PREFIX%\Scripts\gsas2-install.py" "%PREFIX%\GSASII\bootstrap.py"
9set "python=%PREFIX%\python.exe"
10set "script=%PREFIX%\GSASII\bootstrap.py"
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\GSASII.py >> %CONDA_ROOT%\start_GSASII.bat
16pause
17set errorlevel=0
18exit 0
Note: See TracBrowser for help on using the repository browser.