PIP_SDIST_INDEX="$HOME/.cache/pip"
mkdir -p $PIP_SDIST_INDEX
+CHACRACTL_VERSION="chacractl>=0.0.4"
+
# 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/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl; then
- $VENV/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" chacractl
- $VENV/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl
+if ! $VENV/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index $CHACRACTL_VERSION; then
+ $VENV/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" $CHACRACTL_VERSION
+ $VENV/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index $CHACRACTL_VERSION
fi
# create the .chacractl config file
PIP_SDIST_INDEX="$HOME/.cache/pip"
mkdir -p $PIP_SDIST_INDEX
+CHACRACTL_VERSION="chacractl>=0.0.4"
+
# Install the package by trying with the cache first, otherwise doing a download only, and then
# trying to install from the cache again.
-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
+if ! pip install --find-links="file://$PIP_SDIST_INDEX" --no-index $CHACRACTL_VERSION; then
+ pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" $CHACRACTL_VERSION
+ pip install --find-links="file://$PIP_SDIST_INDEX" --no-index $CHACRACTL_VERSION
fi
# create the .chacractl config file
PIP_SDIST_INDEX="$HOME/.cache/pip"
mkdir -p $PIP_SDIST_INDEX
+CHACRACTL_VERSION="chacractl>=0.0.4"
+
# 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/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl; then
- $VENV/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" chacractl
- $VENV/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index chacractl
+if ! $VENV/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index $CHACRACTL_VERSION; then
+ $VENV/pip install --exists-action=i --download-directory="$PIP_SDIST_INDEX" $CHACRACTL_VERSION
+ $VENV/pip install --find-links="file://$PIP_SDIST_INDEX" --no-index $CHACRACTL_VERSION
fi
# create the .chacractl config file