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

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

testing w/gsas2pkg redo

File size: 942 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%"
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.