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

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

gsas2pkg cannot be noarch

File size: 974 bytes
RevLine 
[4700]1REM echo "Install GSAS-II from APS subversion server" %PREFIX%\.messages.txt
[2370]2mkdir "%PREFIX%\GSASII"
[4700]3REM# create bootstrap batch file
[4701]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"
[4700]7REM# install and run the bootstrap
[2370]8copy "%PREFIX%\Scripts\gsas2-install.py" "%PREFIX%\GSASII\bootstrap.py"
9set "python=%PREFIX%\python.exe"
10set "script=%PREFIX%\GSASII\bootstrap.py"
[4701]11"%python%" "%script%" > "%PREFIX%\GSASII\bootstrap_out.log"
[4700]12REM# create start GSAS-II batch file
[4703]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"
[2315]16pause
[2370]17set errorlevel=0
[2315]18exit 0
Note: See TracBrowser for help on using the repository browser.