source: gs3-extensions/mars-src/trunk/CREATE-VENV-PYTHON3.sh@ 34391

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

More careful control over the creation of python venvs

  • Property svn:executable set to *
File size: 517 bytes
Line 
1#!/bin/bash
2
3source ./devel.bash
4
5if [ ! -d "$GEXT_MARS_INSTALLED/virtualenv-python3" ] ; then
6 python3 -mvenv --python=python3 "$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 repository browser.