Create the virtual envs in a subdir, set owner to vagrant user

This commit is contained in:
Robin Dunn
2016-11-30 19:53:51 -08:00
parent ddad9b95b9
commit 36ca2cf37f
5 changed files with 35 additions and 26 deletions

View File

@@ -22,9 +22,10 @@ yum -y install python34u python34u-tools python34u-devel
yum -y install python35u python35u-tools python35u-devel
# Set up virtual environments for each Python where the Phoenix builds will be done
virtualenv --python=python2.7 Py27
pyvenv-3.4 Py34
pyvenv-3.5 Py35
# Set up virtual environments for each Pytho# Set up virtual environments for each Python where the Phoenix builds will be
# done. set them to the vagrant user so the venv's can be updated by pip later.
mkdir venvs
virtualenv --python=python2.7 venvs/Py27
pyvenv-3.4 venvs/Py34
pyvenv-3.5 venvs/Py35
chown -R vagrant:vagrant venvs

View File

@@ -16,8 +16,11 @@ apt-get install -y python2.7 python2.7-dev libpython2.7-dev python-virtualenv
apt-get install -y python3.4 python3.4-dev libpython3.4-dev python3.4-venv
#apt-get install -y python3.5 python3.5-dev libpython3.5-dev python3.5-venv
# Set up virtual environments for each Python where the Phoenix builds will be done
virtualenv --python=python2.7 Py27
pyvenv-3.4 Py34
#pyvenv-3.5 Py35
# Set up virtual environments for each Python where the Phoenix builds will be
# done. set them to the vagrant user so the venv's can be updated by pip later.
mkdir venvs
virtualenv --python=python2.7 venvs/Py27
pyvenv-3.4 venvs/Py34
#pyvenv-3.5 venvs/Py35
chown -R vagrant:vagrant venvs

View File

@@ -20,10 +20,10 @@ dnf -y install python python-tools python-devel python-virtualenv
#dnf -y install python34 python34-tools python34-devel
dnf -y install python3 python3-tools python3-devel
# Set up virtual environments for each Python where the Phoenix builds will be done
virtualenv --python=python2.7 Py27
#pyvenv-3.4 Py34
pyvenv-3.5 Py35
# Set up virtual environments for each Python where the Phoenix builds will be
# done. set them to the vagrant user so the venv's can be updated by pip later.
mkdir venvs
virtualenv --python=python2.7 venvs/Py27
#pyvenv-3.4 venvs/Py34
pyvenv-3.5 venvs/Py35
chown -R vagrant:vagrant venvs

View File

@@ -17,8 +17,11 @@ apt-get install -y python2.7 python2.7-dev libpython2.7-dev python-virtualenv
apt-get install -y python3.4 python3.4-dev libpython3.4-dev python3.4-venv
apt-get install -y python3.5 python3.5-dev libpython3.5-dev python3.5-venv
# Set up virtual environments for each Python where the Phoenix builds will be done
virtualenv --python=python2.7 Py27
pyvenv-3.4 Py34
pyvenv-3.5 Py35
# Set up virtual environments for each Python where the Phoenix builds will be
# done. set them to the vagrant user so the venv's can be updated by pip later.
mkdir venvs
virtualenv --python=python2.7 venvs/Py27
pyvenv-3.4 venvs/Py34
pyvenv-3.5 venvs/Py35
chown -R vagrant:vagrant venvs

View File

@@ -17,8 +17,10 @@ apt-get install -y python2.7 python2.7-dev libpython2.7-dev python-virtualenv
#apt-get install -y python3.4 python3.4-dev libpython3.4-dev python3.4-venv
apt-get install -y python3.5 python3.5-dev libpython3.5-dev python3.5-venv
# Set up virtual environments for each Python where the Phoenix builds will be done
virtualenv --python=python2.7 Py27
#pyvenv-3.4 Py34
pyvenv-3.5 Py35
# Set up virtual environments for each Python where the Phoenix builds will be
# done. set them to the vagrant user so the venv's can be updated by pip later.
mkdir venvs
virtualenv --python=python2.7 venvs/Py27
#pyvenv-3.4 venvs/Py34
pyvenv-3.5 venvs/Py35
chown -R vagrant:vagrant venvs