Skip to content

Commit

Permalink
Fix installing released versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Nov 28, 2023
1 parent 477627e commit 37587f7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions base/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ function install_sources() {
exit 1
elif [[ ${#wheels[@]} -eq 1 ]]; then
to_install+=("${wheels[0]}")
elif [[ -d "${dir}-${package_name}" ]] || [[ "${package_name}" == "." ]]; then
else
if [[ "${package_name}" == "." ]]; then
src_dir=("${dir}")
else
src_dir=("${dir}-${package_name}")
fi
if [[ -n "${DIRACX_CUSTOM_SOURCE_EDITABLE:-}" ]]; then
to_install+=("-e")
fi
if [[ "${package_name}" == "." ]]; then
to_install+=("${dir}")
else
to_install+=("${dir}-${package_name}")
if [[ -d "${src_dir}" ]]; then
to_install+=("${src_dir}")
fi
fi
done
Expand Down

0 comments on commit 37587f7

Please sign in to comment.