summaryrefslogtreecommitdiff
path: root/src/portal/scripts/create_vendor.sh
blob: 5daa3a36398580fdcf93c3d70abf4bffa1faaac5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#! /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 gallery-dl/
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 ../
rm -r venv