openai/openai-python

Public

mirrored from https://github.com/openai/openai-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
b139fc3e511adf9d5f06a8bdf12998f8b5f7254f

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

scripts/bootstrap

27lines · modeblame

d2738d42Stainless Bot2 years ago1#!/usr/bin/env bash
2
3set -e
4
5cd "$(dirname "$0")/.."
6
e70ae111stainless-app[bot]10 months ago7if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
d2738d42Stainless Bot2 years ago8brew bundle check >/dev/null 2>&1 || {
e70ae111stainless-app[bot]10 months ago9echo -n "==> Install Homebrew dependencies? (y/N): "
10read -r response
11case "$response" in
12[yY][eE][sS]|[yY])
13brew bundle
14;;
15*)
16;;
17esac
18echo
d2738d42Stainless Bot2 years ago19}
20fi
21
22echo "==> Installing Python dependencies…"
23
24# experimental uv support makes installations significantly faster
25rye config --set-bool behavior.use-uv=true
26
7dcabfc4Stainless Bot2 years ago27rye sync --all-features