Use venv pip directly instead of sourcing activate
This commit is contained in:
1 parent
5deb059439
commit
631beaaed2
1 file changed
+3
-4
@@ -51,12 +51,11 @@ else
|
|||||||
echo "Virtual environment already exists at .venv/"
|
echo "Virtual environment already exists at .venv/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Activate and install dependencies
|
# Install dependencies using venv's pip directly
|
||||||
echo ""
|
echo ""
|
||||||
echo "Installing dependencies..."
|
echo "Installing dependencies..."
|
||||||
source "$VENV_DIR/bin/activate"
|
"$VENV_DIR/bin/pip" install --upgrade pip > /dev/null 2>&1
|
||||||
pip install --upgrade pip > /dev/null 2>&1
|
"$VENV_DIR/bin/pip" install -r "$SCRIPT_DIR/requirements.txt"
|
||||||
pip install -r "$SCRIPT_DIR/requirements.txt"
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "=== Setup Complete ==="
|
echo "=== Setup Complete ==="
|
||||||
|
|||||||
Reference in new issue
Block a user