mirror of
https://github.com/cloudflare/cloudflare-python.git
synced 2026-01-11 19:57:00 +00:00
19 lines
446 B
Bash
Executable file
19 lines
446 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if ! command -v rye >/dev/null 2>&1 && [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
|
|
brew bundle check >/dev/null 2>&1 || {
|
|
echo "==> Installing Homebrew dependencies…"
|
|
brew bundle
|
|
}
|
|
fi
|
|
|
|
echo "==> Installing Python dependencies…"
|
|
|
|
# experimental uv support makes installations significantly faster
|
|
rye config --set-bool behavior.use-uv=true
|
|
|
|
rye sync --all-features
|