Skip to content

Commit

Permalink
Use a local Python library
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley committed Aug 28, 2023
1 parent d12fda2 commit ccc04db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ LATEST_SCRIPT="$SCRIPTS_DIRECTORY/latest.py"
TEMPLATE_PATH="$SCRIPTS_DIRECTORY/template.rb"
FORMULA_PATH="$ROOT_DIRECTORY/Formula/incontext.rb"

# Configure Python.
export PYTHONUSERBASE="${ROOT_DIRECTORY}/.local/python"
mkdir -p "$PYTHONUSERBASE"
export PATH="${PYTHONUSERBASE}/bin":$PATH
pip3 install --user pipenv

# Create a temporary directory and schedule cleanup.
TEMPORARY_DIRECTORY=`mktemp -d`
function cleanup {
Expand Down

0 comments on commit ccc04db

Please sign in to comment.