Problems with venv script, ongoing..

This commit is contained in:
2023-02-11 23:03:12 +00:00
parent 709b720be9
commit 6b5f048b4b
3 changed files with 19 additions and 22 deletions

View File

@@ -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 '### '