Skip to content

Commit

Permalink
add PIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqliu committed Sep 21, 2024
1 parent 5fa2ae1 commit 3b9773f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# specific language governing permissions and limitations
# under the License.

# Use the same Python executable for these commands
PIP = python -m pip
POETRY = python -m poetry

help: ## Display this help
Expand All @@ -23,7 +25,7 @@ help: ## Display this help
install-poetry: ## Install poetry if the user has not done that yet.
@if ! $(POETRY) --version &> /dev/null; then \
echo "Poetry could not be found. Installing..."; \
python -m pip install poetry==1.8.3; \
${PIP} install poetry==1.8.3; \
else \
echo "Poetry is already installed."; \
fi
Expand Down

0 comments on commit 3b9773f

Please sign in to comment.