Original solution from here https://github.com/pypa/pip/issues/5900#issuecomment-490216395
11 lines
259 B
Bash
Executable File
11 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
python3 -m venv venv
|
|
source ./venv/bin/activate
|
|
|
|
set -o pipefail; pip install -r requirements.txt | { grep -v "already satisfied" || :; }
|
|
|
|
cd $DIR
|
|
python3 cloudflare-ddns.py
|