Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions brainscore_core/plugin_management/conda_score.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ conda install pip -y || {
exit 1
}

# Install brainscore_core first
CORE_PATH="$LIBRARY_PATH/core"
echo "Installing local brainscore_core from $CORE_PATH"
pip install -e "$CORE_PATH"

# Change to the library directory
cd "$LIBRARY_PATH/$LIBRARY_NAME" || {
echo "Error: Could not change to directory $LIBRARY_PATH/$LIBRARY_NAME"
Expand Down
6 changes: 6 additions & 0 deletions brainscore_core/plugin_management/test_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ conda activate $PLUGIN_NAME
conda install pip
pip install --upgrade pip setuptools

# Install brainscore_core first
LIBRARY_PATH_ABS="$(realpath "$LIBRARY_PATH")"
CORE_PATH="$(dirname "$LIBRARY_PATH_ABS")/core"
echo "Installing local brainscore_core from $CORE_PATH"
python -m pip install -e "$CORE_PATH" --default-timeout=600 --retries=5

output=$(python -m pip install -e ".[test]" --default-timeout=600 --retries=5 2>&1) # install library requirements

if [ -f "$CONDA_ENV_PATH" ]; then
Expand Down