Update langflow-base to version 0.0.15 and fix setup_env script

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-01 23:40:06 -03:00
commit 7c5506ff4c
6 changed files with 185 additions and 267 deletions

View file

@ -7,6 +7,31 @@ then
exit 1
fi
echo "Checking Pipx installation..."
# Check if pipx is installed
if ! command -v pipx &> /dev/null
then
echo "Pipx is not installed. Installing..."
python3 -m pip install --user pipx
python3 -m pipx ensurepath
echo "Pipx installed successfully."
else
echo "Pipx is already installed."
fi
echo "Checking Poetry installation..."
# Check if Poetry is installed
if ! command -v poetry &> /dev/null
then
echo "Poetry is not installed. Installing..."
pipx install poetry
echo "Poetry installed successfully."
else
echo "Poetry is already installed."
fi
echo "Checking Poetry version..."
# Check Poetry version