mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
14 lines
453 B
Bash
14 lines
453 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
BLEACH_VENDOR_DIR=${BLEACH_VENDOR_DIR:-"."}
|
|
DEST=${DEST:-"."}
|
|
|
|
pip install --no-binary all --no-compile --no-deps -r "${BLEACH_VENDOR_DIR}/vendor.txt" --target "${DEST}"
|
|
|
|
# install Python 3.6.14 urllib.urlparse for #536
|
|
curl --proto '=https' --tlsv1.2 -o "${DEST}/parse.py" https://raw.githubusercontent.com/python/cpython/v3.6.14/Lib/urllib/parse.py
|
|
(cd "${DEST}" && sha256sum parse.py > parse.py.SHA256SUM)
|