Skip to content

Commit

Permalink
update installer scripts for latest miniforge
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Jan 10, 2025
1 parent fe47313 commit 0535b27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion installers/GetLarch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ echo ## basic mamba installed, running updates
set PATH=%prefix%;%prefix%\bin;%prefix%\condabin;%prefix%\Scripts;%PATH%

echo ## Installing basic python scipy packages
call %prefix%\Scripts\mamba install -yc conda-forge python==3.11.5 numpy scipy matplotlib h5py scikit-image scikit-learn pandas jupyter plotly wxpython fabio pyfai pymatgen mkl_fft tomopy
call %prefix%\Scripts\mamba install -yc conda-forge python==3.12.7 numpy scipy matplotlib h5py scikit-image scikit-learn pandas jupyter plotly wxpython fabio pyfai pymatgen mkl_fft tomopy

echo ## Installing xraylarch and dependencies from PyPI
call %prefix%\Scripts\pip install xraylarch[larix]
Expand Down
8 changes: 2 additions & 6 deletions installers/GetLarch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,15 @@ prefix=$HOME/xraylarch
larchurl='xraylarch[larix]'

uname=`uname`
if [ $uname == Darwin ]; then
uname=MacOSX
fi

condaurl="https://github.com/conda-forge/miniforge/releases/latest/download"

condafile="Miniforge3-$uname-x86_64.sh"
condafile="Mambaforge-$uname-x86_64.sh"

logfile=GetLarch.log

## set list of conda packages to install from conda-forge
cforge_pkgs="python=>3.12.3 numpy scipy matplotlib h5py scikit-image scikit-learn pandas jupyter plotly wxpython fabio pyfai pymatgen mkl_fft tomopy"
cforge_pkgs="python=>3.12.7 numpy scipy matplotlib h5py scikit-image scikit-learn pandas jupyter plotly wxpython fabio pyfai pymatgen mkl_fft tomopy"


unset CONDA_EXE CONDA_PYTHON_EXE CONDA_PREFIX PROJ_LIB

Expand Down

0 comments on commit 0535b27

Please sign in to comment.