openai/openai-python

Public

mirrored fromhttps://github.com/openai/openai-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
3f8d8205ae41c389541e125336b0ae0c5e437661

Branches

Tags

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

Clone

HTTPS

Download ZIP

scripts/bootstrap

19lines · modecode

1#!/usr/bin/env bash
2
3set -e
4
5cd "$(dirname "$0")/.."
6
7if ! command -v rye >/dev/null 2>&1 && [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
8 brew bundle check >/dev/null 2>&1 || {
9 echo "==> Installing Homebrew dependencies…"
10 brew bundle
11 }
12fi
13
14echo "==> Installing Python dependencies…"
15
16# experimental uv support makes installations significantly faster
17rye config --set-bool behavior.use-uv=true
18
19rye sync