Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Separate script to download/update python dependencies

Mike McGann161a26206d07
diff --git a/wv-python b/wv-python
new file mode 100755
index 000000000..6ad4e0239
--- /dev/null
+++ b/wv-python
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# NASA Worldview
+#
+# This code was originally developed at NASA/Goddard Space Flight Center for
+# the Earth Science Data and Information System (ESDIS) project.
+#
+# Copyright (C) 2013 - 2014 United States Government as represented by the
+# Administrator of the National Aeronautics and Space Administration.
+# All Rights Reserved.
+#
+
+set -e
+
+BASE_DIR=$(dirname "$0")
+
+( \
+ cd $BASE_DIR; virtualenv python ; python/bin/pip install \
+ xmltodict \
+)
diff --git a/wv-setup b/wv-setup
index 992d43af5..e44342d55 100755
--- a/wv-setup
+++ b/wv-setup
@@ -73,8 +73,7 @@ fi
if [ ! -d "$BASE_DIR/python" ] ; then
echo "$PROG: ***** Installing python dependencies"
- virtualenv python
- "$BASE_DIR"/python/bin/pip install xmltodict
+ "$BASE_DIR"/wv-python
fi
if [ ! -d "$BASE_DIR/options" ] ; then