forked from expo/troggle
Problems with venv script, ongoing..
This commit is contained in:
10
venv-trog.sh
10
venv-trog.sh
@@ -12,8 +12,8 @@ echo '-- Run this in a terminal in the real troggle directory: "bash venv-trog.s
|
||||
|
||||
|
||||
# NOW we set up troggle
|
||||
PYTHON=python3.10
|
||||
VENAME=p10d3 # python3.x and django 3.2
|
||||
PYTHON=python3.11
|
||||
VENAME=p11d3 # python3.x and django 3.2
|
||||
echo "** You are logged in as `id -u -n`"
|
||||
echo "The 50MB pip cache will be in /home/`id -u -n`/.cache/"
|
||||
echo "The 150MB venv will created in /home/`id -u -n`/$VENAME/"
|
||||
@@ -96,6 +96,12 @@ ls -tla
|
||||
echo "###"
|
||||
echo "### now installing ${TROGDIR}/requirements.txt"
|
||||
echo "###"
|
||||
|
||||
# NOW THERE IS A PERMISSIONS FAILURE THAT DIDN'T HAPPEN BEFORE
|
||||
# seen on wsl2 as well as wsl1
|
||||
# which ALSO ruins EXISTING permissions !
|
||||
# Guessing it is to do with pip not liking non-standard py 3.11 installation on Ubuntu 22.04
|
||||
|
||||
$PIP install -r ${TROGDIR}/requirements.txt
|
||||
echo '### install from requirements.txt completed.'
|
||||
echo '### '
|
||||
|
||||
Reference in New Issue
Block a user