diff options
| author | 2024-04-09 11:24:01 -0400 | |
|---|---|---|
| committer | 2024-04-09 11:24:01 -0400 | |
| commit | 02f3d3565602146bbbfce85b2719246f24036cb9 (patch) | |
| tree | c6588ffe297b777e36260effa4fa42b958ca6ba3 /src/portal/scripts | |
| parent | bbf3314165182e402ff25acccddc004a87f81ef0 (diff) | |
| download | camu-02f3d3565602146bbbfce85b2719246f24036cb9.tar.gz camu-02f3d3565602146bbbfce85b2719246f24036cb9.tar.bz2 camu-02f3d3565602146bbbfce85b2719246f24036cb9.zip | |
Massive restructure and many changes
- The server-side list concept is still a wip
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal/scripts')
| -rwxr-xr-x | src/portal/scripts/create_vendor.sh | 28 | ||||
| -rwxr-xr-x | src/portal/scripts/run_py.sh | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/src/portal/scripts/create_vendor.sh b/src/portal/scripts/create_vendor.sh new file mode 100755 index 0000000..f4d551e --- /dev/null +++ b/src/portal/scripts/create_vendor.sh @@ -0,0 +1,28 @@ +#! /usr/bin/env sh + +python3 -m venv ./venv +source ./venv/bin/activate + +cd vendor/ +rm -r 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 pixivpy/ +pip3 install . --upgrade --target=../vendor +cd ../ + +cd instagrapi/ +pip3 install . --upgrade --target=../vendor +cd ../ + +cd ../ +rm -r venv diff --git a/src/portal/scripts/run_py.sh b/src/portal/scripts/run_py.sh new file mode 100755 index 0000000..ddbe869 --- /dev/null +++ b/src/portal/scripts/run_py.sh @@ -0,0 +1,4 @@ +#! /usr/bin/env sh +export PYTHONDONTWRITEBYTECODE=1 +export PYTHONPATH=$HOME/c/camu/src/portal/vendor/vendor +python3 $@ |