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

Last change on this file since 4703 was 4703, checked in by toby, 11 months ago

gsas2pkg cannot be noarch

File size: 974 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.