Skip to content

Commit

Permalink
Update compiler script
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Oct 24, 2024
1 parent ff12c99 commit 3ba45c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/COMPILE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
machine="$(uname -m)"

cd /opt/npbackup
git pull || exit 1

OLD_PYTHONPATH="$PYTHONPATH"
export PYTHONPATH=/opt/npbackup

# For RHEL 7 based builds, we need to define path to locally built tcl8.6
[ -d /usr/local/lib/tcl8.6 ] && export LD_LIBRARY_PATH=/usr/local/lib

/opt/npbackup/venv/bin/python -m pip install --upgrade -r npbackup/requirements.txt || exit 1
/opt/npbackup/venv/bin/python bin/compile.py --audience all $opts

export PYTHONPATH="$OLD_PYTHONPATH"

0 comments on commit 3ba45c7

Please sign in to comment.