Skip to content

Commit

Permalink
update generated environment yaml file name
Browse files Browse the repository at this point in the history
  • Loading branch information
sdc50 committed Oct 30, 2024
1 parent d0ca7a0 commit ed58ee4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install_tethys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,9 @@ then
then
# create conda env and install Tethys
echo "Setting up the ${CONDA_ENV_NAME} environment..."
sudo sed "s/python>=.*/python=${PYTHON_VERSION}/" "${TETHYS_SRC}/environment.yml" > "${TETHYS_SRC}/temp_environment.yml"
sudo sed -i.bak "s/django>=.*/django=${DJANGO_VERSION}/" "${TETHYS_SRC}/temp_environment.yml"
conda env create -n ${CONDA_ENV_NAME} -f "${TETHYS_SRC}/temp_environment.yml"
sudo sed "s/python>=.*/python=${PYTHON_VERSION}/" "${TETHYS_SRC}/environment.yml" > "${TETHYS_SRC}/generated_environment.yml"
sudo sed -i.bak "s/django>=.*/django=${DJANGO_VERSION}/" "${TETHYS_SRC}/generated_environment.yml"
conda env create -n ${CONDA_ENV_NAME} -f "${TETHYS_SRC}/generated_environment.yml"
conda activate ${CONDA_ENV_NAME}
pip install -e ${TETHYS_SRC}
else
Expand Down

0 comments on commit ed58ee4

Please sign in to comment.