File: setup.sh

package info (click to toggle)
pyicloud 2.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 828 kB
  • sloc: python: 9,741; sh: 17; makefile: 3
file content (9 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/zsh
set -e

uv venv && uv pip install -r requirements_all.txt
grep -qxF 'source /workspaces/pyicloud/.venv/bin/activate' ~/.zshrc || cat <<EOF >>~/.zshrc
if [ -f "/workspaces/pyicloud/.venv/bin/activate" ]; then
  source /workspaces/pyicloud/.venv/bin/activate
fi
EOF