# Create the virtualenv
virtualenv $WORKSPACE/venv
-$WORKSPACE/venv/bin/activate
+source $WORKSPACE/venv/bin/activate
# Define and ensure the PIP cache
PIP_SDIST_INDEX="$HOME/.cache/pip"
# Install the package by trying with the cache first, otherwise doing a download only, and then
# trying to install from the cache again.
-if ! venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl; then
- venv/bin/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" chacractl
- venv/bin/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl
+if ! pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl; then
+ pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" chacractl
+ pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl
fi
# create the .chacractl config file