#! /usr/bin/env sh set -e export PYTHONDONTWRITEBYTECODE=1 python3 -m venv ./venv source ./venv/bin/activate cd vendor/ rm -rf vendor/ pip3 install -r ../requirements.txt --upgrade --target=./vendor cd yt-dlp/ pip3 install . --upgrade --target=../vendor cd ../ cd snscrape/ pip3 install . --upgrade --target=../vendor cd ../ cd twitter-api-client/ pip3 install . --upgrade --target=../vendor cd ../ cd pixivpy/ pip3 install . --upgrade --target=../vendor cd ../ cd instagrapi/ pip3 install . --upgrade --target=../vendor cd ../ cd gallery-dl/ pip3 install . --upgrade --target=../vendor cd ../ cd ../ rm -r venv