source: gs3-extensions/virtualenv-python/trunk/CREATE-VENV-PYTHON3.sh@ 36310

Last change on this file since 36310 was 36310, checked in by davidb, 21 months ago

Starting set of files for virtual python3 extension

  • Property svn:executable set to *
File size: 551 bytes
Line 
1#!/bin/bash
2
3source ./setup.bash
4
5if [ ! -d "$GEXT_VIRTUALENV_PYTHON_INSTALLED/virtualenv-python3" ] ; then
6 python3 -mvenv "$GEXT_VIRTUALENV_PYTHON_INSTALLED/virtualenv-python3"
7else
8 echo "" >&2
9 echo "!!!!" >&2
10 echo "! VirtualEnv Python3 already exists: $GEXT_VIRTUALENV_PYTHON_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_VIRTUALENV_PYTHON_INSTALLED/virtualenv-python3/bin/activate\""
19echo "****"
20
21
Note: See TracBrowser for help on using the repository browser.