Skip to content

Commit

Permalink
Add noahs environment scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
frodre committed Mar 13, 2020
1 parent ebb0d4c commit 956936f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .environment-scripts/build_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@ CONDA_ENV=$1
CONDA_BASE=$(conda info --base)

conda env create -n $CONDA_ENV -f environment.yml 2> /dev/null || \
echo "Conda env already exists proceeding to VCM package installation"

source activate $CONDA_ENV

local_packages_to_install=(. external/fv3config external/vcm external/vcm/external/mappm)
for package in ${local_packages_to_install[@]}
do
pip install --no-deps -e $package
done
echo "Conda env already exists proceeding to VCM package installation"
11 changes: 11 additions & 0 deletions .environment-scripts/install_local_packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

CONDA_ENV=$1

source activate $CONDA_ENV

local_packages_to_install=(. external/fv3config external/vcm external/vcm/external/mappm)
for package in ${local_packages_to_install[@]}
do
pip install --no-deps -e $package
done

0 comments on commit 956936f

Please sign in to comment.