Problems with venv script, ongoing..

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

0
requirements-p11d3.txt Normal file
View File

View File

@ -1,22 +1,13 @@
asgiref==3.5.2
attrs==22.2.0
black==22.12.0
click==8.1.3
colorama==0.4.6
coverage==6.5.0
asgiref==3.6.0
black==23.1.0
coverage==7.1.0
Django==3.2
docutils==0.19
interrogate==1.5.0
isort==5.11.4
mypy-extensions==0.4.3
pathspec==0.10.3
Pillow==9.3.0
platformdirs==2.6.2
py==1.11.0
pytz==2022.6
ruff==0.0.226
sqlparse==0.4.3
tabulate==0.9.0
toml==0.10.2
typing_extensions==4.4.0
isort==5.12
mypy-extensions==1.0.0
pathspec==0.11
Pillow==9.4.0
pytz==2022.7
ruff==0.0.245
setuptools==67.2.0
Unidecode==1.3.6

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