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

Last change on this file since 34349 was 34349, checked in by davidb, 4 years ago

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

  • Property svn:executable set to *
File size: 513 bytes
RevLine 
[34349]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 repository browser.