Skip to content

Commit

Permalink
Merge pull request #226 from NREL/env_create_fix
Browse files Browse the repository at this point in the history
Fix for activating environment and installing packages properly
  • Loading branch information
nmerket committed May 3, 2021
2 parents b98ba46 + df16f3d commit 288f563
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions create_eagle_env.sh 100644 → 100755
Expand Up @@ -27,11 +27,12 @@ echo "Creating $MY_CONDA_PREFIX"
module load conda
conda remove -y --prefix "$MY_CONDA_PREFIX" --all
conda create -y --prefix "$MY_CONDA_PREFIX" -c conda-forge "pyarrow>=3.0.0" python=3.7.8 "numpy>=1.20.0" "pandas>=1.0.0,!=1.0.4" dask distributed ruby
source deactivate
source activate "$MY_CONDA_PREFIX"
pip install --upgrade pip
which pip
if [ $DEV -eq 1 ]
then
pip install -e .
pip install --ignore-installed -e .
else
pip install .
pip install --ignore-installed .
fi
7 changes: 7 additions & 0 deletions docs/changelog/changelog_dev.rst
Expand Up @@ -75,3 +75,10 @@ Development Changelog
:tickets: 189

Adding measure arguments for reporting measures in the workflow generator.

.. change::
:tags: general, eagle
:pullreq: 226
:tickets:

Fix for create_eagle_env.sh not creating environment.

0 comments on commit 288f563

Please sign in to comment.