Changeset 4700


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

testing w/gsas2pkg redo

Location:
install/g2pkg
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • install/g2pkg/meta.yaml

    r4696 r4700  
    11package:
    22  name: gsas2pkg
    3   version: "2.0.0"
     3  version: "2.1.0"
    44
    55source:
  • install/g2pkg/post-link.bat

    r2410 r4700  
    1 echo "Install GSAS-II from APS subversion server (v. 2016/7/12)"
     1REM echo "Install GSAS-II from APS subversion server" %PREFIX%\.messages.txt
    22mkdir "%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
    38copy "%PREFIX%\Scripts\gsas2-install.py" "%PREFIX%\GSASII\bootstrap.py"
    49set "python=%PREFIX%\python.exe"
    510set "script=%PREFIX%\GSASII\bootstrap.py"
    611"%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\GSASII.py" >> %CONDA_ROOT%\start_GSASII.bat
    716pause
    817set errorlevel=0
  • install/g2pkg/post-link.sh

    r4696 r4700  
    22mkdir -p $PREFIX/GSASII
    33echo "Preparing to install GSAS-II from APS subversion server" > $PREFIX/GSASII/conda_inst.log
     4# create bootstrap script
     5echo "# Commands to run GSAS-II load/update process" > $CONDA_ROOT/start_G2_bootstrap.sh
     6echo "source $CONDA_ROOT/bin/activate $CONDA_DEFAULT_ENV" >> $CONDA_ROOT/start_G2_bootstrap.sh
     7echo "$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py" >> $CONDA_ROOT/start_G2_bootstrap.sh
     8# install and run the bootstrap
    49cp $PREFIX/bin/gsas2-install.py $PREFIX/GSASII/bootstrap.py > $PREFIX/GSASII/conda_inst.log 2>&1
    510echo $PREFIX/bin/python  >> $PREFIX/GSASII/conda_inst.log 2>&1
    611$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py >> $PREFIX/GSASII/conda_inst.log 2>&1
     12# create start script
    713echo "# Commands to start GSAS-II" > $CONDA_ROOT/start_GSASII.sh
    814echo "source $CONDA_ROOT/bin/activate $CONDA_DEFAULT_ENV" >> $CONDA_ROOT/start_GSASII.sh
Note: See TracChangeset for help on using the changeset viewer.