From 782137e80994928e7edbe98dd0d0d689db538546 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Tue, 4 Oct 2022 09:22:34 -0700 Subject: [PATCH] Update script --- =0.3.0 | 0 deephaven-example-app.sh | 19 +++---------------- 2 files changed, 3 insertions(+), 16 deletions(-) create mode 100644 =0.3.0 diff --git a/=0.3.0 b/=0.3.0 new file mode 100644 index 0000000..e69de29 diff --git a/deephaven-example-app.sh b/deephaven-example-app.sh index 666aa82..66ba80f 100755 --- a/deephaven-example-app.sh +++ b/deephaven-example-app.sh @@ -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}'" @@ -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