icloud_photos_downloader/scripts/build_bin1

10 lines
483 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# prepare bin package in dist
# expects python with installed dependencies
# required params: <starter name1>
# output: <starter name1>
PYTHONHASHSEED=42 pyinstaller --collect-all keyrings.alt --copy-metadata keyrings.alt --hidden-import pkg_resources.extern --hidden-import pkgutil --collect-all tzdata --add-data "src/icloudpd/server/static:static" --add-data "src/icloudpd/server/templates:templates" --onefile src/starters/$1.py --name $1