SIGN IN SIGN UP
openai / openai-python UNCLAIMED

The official Python library for the OpenAI API

30349 0 0 Python
2024-05-01 00:00:17 -04:00
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
2024-05-01 00:00:17 -04:00
brew bundle check >/dev/null 2>&1 || {
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
case "$response" in
[yY][eE][sS]|[yY])
brew bundle
;;
*)
;;
esac
echo
2024-05-01 00:00:17 -04:00
}
fi
echo "==> Installing Python dependencies…"
# experimental uv support makes installations significantly faster
rye config --set-bool behavior.use-uv=true
rye sync