Changeset 34391

Show
Ignore:
Timestamp:
15.09.2020 15:35:37 (2 weeks ago)
Author:
davidb
Message:

More careful control over the creation of python venvs

Location:
gs3-extensions/mars-src/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mars-src/trunk/CREATE-VENV-PYTHON2.sh

    r34349 r34391  
    11#!/bin/bash 
    22 
    3 source ./devel.bash  
     3# source ./devel.bash  
     4 
     5source ./setup.bash 
     6 
     7if [ ! -d "devel/virtualenv-1.10" ] ; then 
     8    echo "Untarring dev/virtualenv-1.10.tar.gz" 
     9    cd "devel" && tar xvzf "virtualenv-1.10.tar.gz" && cd .. 
     10fi 
    411 
    512if [ ! -d "$GEXT_MARS_INSTALLED/virtualenv-python2" ] ; then 
    6     python packages/virtualenv-1.10/virtualenv.py $GEXT_MARS_INSTALLED/virtualenv-python2 
     13    python devel/virtualenv-1.10/virtualenv.py --python=python2 $GEXT_MARS_INSTALLED/virtualenv-python2 
    714else 
    815    echo "" >&2 
  • gs3-extensions/mars-src/trunk/CREATE-VENV-PYTHON3.sh

    r34349 r34391  
    44 
    55if [ ! -d "$GEXT_MARS_INSTALLED/virtualenv-python3" ] ; then 
    6     python3 -mvenv "$GEXT_MARS_INSTALLED/virtualenv-python3" 
     6    python3 -mvenv --python=python3 "$GEXT_MARS_INSTALLED/virtualenv-python3" 
    77else 
    88    echo "" >&2