root/gs3-extensions/mars-src/trunk/CREATE-VENV-PYTHON2.sh @ 34349

Revision 34349, 0.5 KB (checked in by davidb, 7 weeks ago)

Used to stand up a version of python where extra pip packages have been installed under user control

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3source ./devel.bash
4
5if [ ! -d "$GEXT_MARS_INSTALLED/virtualenv-python2" ] ; then
6    python packages/virtualenv-1.10/virtualenv.py $GEXT_MARS_INSTALLED/virtualenv-python2
7else
8    echo "" >&2
9    echo "!!!!" >&2
10    echo "! VirtualEnv Python2 already exists: $GEXT_MARS_INSTALLED/virtualenv-python2" >&2
11    echo "!!!!" >&2
12    echo "" >&2
13fi
14
15echo "****"
16echo "* To activate this version of python, enter:"
17echo "*   source \"$GEXT_MARS_INSTALLED/virtualenv-python2/bin/activate\""
18echo "****"
19
20
Note: See TracBrowser for help on using the browser.