openai/openai-python

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
dev/codex/package-manager-safety-dry-run

Branches

Tags

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

Clone

HTTPS

Download ZIP

scripts/bootstrap

23lines · modecode

1#!/usr/bin/env bash
2
3set -e
4
5cd "$(dirname "$0")/.."
6
7if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
8 brew bundle check >/dev/null 2>&1 || {
9 echo -n "==> Install Homebrew dependencies? (y/N): "
10 read -r response
11 case "$response" in
12 [yY][eE][sS]|[yY])
13 brew bundle
14 ;;
15 *)
16 ;;
17 esac
18 echo
19 }
20fi
21
22echo "==> Installing Python dependencies…"
23uv sync --locked --all-extras --group dev
24