Skip to content

Commit

Permalink
Add --no-deps to pip install commands in entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Nov 28, 2023
1 parent 410d219 commit 153b189
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ function install_sources() {
echo "ERROR: Multiple wheels found for ${package_name} in ${dir}"
exit 1
elif [[ ${#wheels[@]} -eq 1 ]]; then
pip install "${wheels[0]}"
pip install --no-deps "${wheels[0]}"
elif [[ -d "${dir}-${package_name}" ]] || [[ "${package_name}" == "." ]]; then
if [[ -n "${DIRACX_CUSTOM_SOURCE_EDITABLE:-}" ]]; then
pip install -e "${dir}-${package_name}"
pip install --no-deps -e "${dir}-${package_name}"
else
pip install "${dir}-${package_name}"
pip install --no-deps "${dir}-${package_name}"
fi
fi
done
Expand Down

0 comments on commit 153b189

Please sign in to comment.