openai/openai-python
Publicmirrored from https://github.com/openai/openai-pythonAvailable
scripts/bootstrap
19lines · modeblame
d2738d42Stainless Bot2 years ago | 1 | #!/usr/bin/env bash |
| 2 | | |
| 3 | set -e | |
| 4 | | |
| 5 | cd "$(dirname "$0")/.." | |
| 6 | | |
| 7 | if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then | |
| 8 | brew bundle check >/dev/null 2>&1 || { | |
| 9 | echo "==> Installing Homebrew dependencies…" | |
| 10 | brew bundle | |
| 11 | } | |
| 12 | fi | |
| 13 | | |
| 14 | echo "==> Installing Python dependencies…" | |
| 15 | | |
| 16 | # experimental uv support makes installations significantly faster | |
| 17 | rye config --set-bool behavior.use-uv=true | |
| 18 | | |
| 19 | rye sync |