Changeset 4701


Ignore:
Timestamp:
Jan 2, 2021 1:51:38 PM (9 months ago)
Author:
toby
Message:

testing w/gsas2pkg win update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/g2pkg/post-link.bat

    r4700 r4701  
    22mkdir "%PREFIX%\GSASII"
    33REM# create bootstrap batch file
    4 echo "REM Commands to run GSAS-II load/update process" > "%CONDA_ROOT%\start_G2_bootstrap.bat"
    5 echo "call %CONDA_ROOT%\Scripts\activate %CONDA_DEFAULT_ENV%" >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
    6 echo "python %PREFIX%\GSASII\bootstrap.py" >> "%CONDA_ROOT%\start_G2_bootstrap.bat"
     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"
    77REM# install and run the bootstrap
    88copy "%PREFIX%\Scripts\gsas2-install.py" "%PREFIX%\GSASII\bootstrap.py"
    99set "python=%PREFIX%\python.exe"
    1010set "script=%PREFIX%\GSASII\bootstrap.py"
    11 "%python%" "%script%"
     11"%python%" "%script%" > "%PREFIX%\GSASII\bootstrap_out.log"
    1212REM# create start GSAS-II batch file
    13 echo "REM Commands to run GSAS-II load/update process" > %CONDA_ROOT%\start_GSASII.bat
    14 echo "call %CONDA_ROOT%\Scripts\activate %CONDA_DEFAULT_ENV%" >> %CONDA_ROOT%\start_GSASII.bat
    15 echo "python %PREFIX%\GSASII\GSASII.py" >> %CONDA_ROOT%\start_GSASII.bat
     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
    1616pause
    1717set errorlevel=0
Note: See TracChangeset for help on using the changeset viewer.