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

Revision 34349, 500 bytes (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-python3" ] ; then
6    python3 -mvenv "$GEXT_MARS_INSTALLED/virtualenv-python3"
7else
8    echo "" >&2
9    echo "!!!!" >&2
10    echo "! VirtualEnv Python3 already exists: $GEXT_MARS_INSTALLED/virtualenv-python3" >&2
11    echo "!!!!" >&2
12    echo "" >&2
13    echo "" >&2
14fi
15
16echo "****"
17echo "* To activate this version of python, enter:"
18echo "*   source \"$GEXT_MARS_INSTALLED/virtualenv-python3/bin/activate\""
19echo "****"
20
21
Note: See TracBrowser for help on using the browser.