Skip to content

Commit

Permalink
feat: support setup.py automatic detection on containerized cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jasiskis committed Jul 27, 2020
1 parent 382e758 commit 57c9b00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/docker-python-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ fi
if [ -f "${PROJECT_PATH}/requirements.txt" ]; then
echo "Found requirement.txt"
installRequirementsTxtDeps "${PROJECT_PATH}/requirements.txt"
elif [ -f "${PROJECT_PATH}/setup.py" ]; then
echo "Found setup.py"
pip install -U -e "${PROJECT_PATH}"
elif [ -f "${PROJECT_PATH}/Pipfile" ]; then
echo "Found Pipfile"
installPipfileDeps
fi

Expand Down

0 comments on commit 57c9b00

Please sign in to comment.