Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Oct 4, 2022
1 parent 4146f87 commit 782137e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
Empty file added =0.3.0
Empty file.
19 changes: 3 additions & 16 deletions deephaven-example-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ set -o nounset
__venv="${VIRTUAL_ENV:-$(mktemp -d)/venv}"
__pip="${__venv}/bin/pip"
__python="${__venv}/bin/python"
__java_home="${__venv}/bin/java-home"

if [[ ! -f "${__python}" ]]; then
echo "Creating virtual environment @ '${__venv}'"
Expand All @@ -19,20 +18,8 @@ fi

echo "Installing requirements..."

"${__pip}" install -q --upgrade pip
"${__pip}" install -q --upgrade setuptools pip

"${__pip}" install -q \
"jpy>=0.11.1" \
java-utilities \
deephaven-example-app

if [[ -z "${JAVA_HOME:-}" ]]; then
JAVA_HOME="$("${__java_home}")"
echo "Found '${JAVA_HOME}', presuming JAVA_HOME"
else
echo "Using existing JAVA_HOME, '${JAVA_HOME}'"
fi

JAVA_HOME="${JAVA_HOME}" \
"${__python}" -m deephaven_example_app
"${__pip}" install -q deephaven-example-app>=0.3.0

"${__python}" -m deephaven_example_app

0 comments on commit 782137e

Please sign in to comment.