forked from expo/troggle
Problems with venv script, ongoing..
This commit is contained in:
parent
709b720be9
commit
6b5f048b4b
0
requirements-p11d3.txt
Normal file
0
requirements-p11d3.txt
Normal file
@ -1,22 +1,13 @@
|
|||||||
asgiref==3.5.2
|
asgiref==3.6.0
|
||||||
attrs==22.2.0
|
black==23.1.0
|
||||||
black==22.12.0
|
coverage==7.1.0
|
||||||
click==8.1.3
|
|
||||||
colorama==0.4.6
|
|
||||||
coverage==6.5.0
|
|
||||||
Django==3.2
|
Django==3.2
|
||||||
docutils==0.19
|
isort==5.12
|
||||||
interrogate==1.5.0
|
mypy-extensions==1.0.0
|
||||||
isort==5.11.4
|
pathspec==0.11
|
||||||
mypy-extensions==0.4.3
|
Pillow==9.4.0
|
||||||
pathspec==0.10.3
|
pytz==2022.7
|
||||||
Pillow==9.3.0
|
ruff==0.0.245
|
||||||
platformdirs==2.6.2
|
setuptools==67.2.0
|
||||||
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
|
|
||||||
Unidecode==1.3.6
|
Unidecode==1.3.6
|
||||||
|
|
||||||
|
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
|
# NOW we set up troggle
|
||||||
PYTHON=python3.10
|
PYTHON=python3.11
|
||||||
VENAME=p10d3 # python3.x and django 3.2
|
VENAME=p11d3 # python3.x and django 3.2
|
||||||
echo "** You are logged in as `id -u -n`"
|
echo "** You are logged in as `id -u -n`"
|
||||||
echo "The 50MB pip cache will be in /home/`id -u -n`/.cache/"
|
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/"
|
echo "The 150MB venv will created in /home/`id -u -n`/$VENAME/"
|
||||||
@ -96,6 +96,12 @@ ls -tla
|
|||||||
echo "###"
|
echo "###"
|
||||||
echo "### now installing ${TROGDIR}/requirements.txt"
|
echo "### now installing ${TROGDIR}/requirements.txt"
|
||||||
echo "###"
|
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
|
$PIP install -r ${TROGDIR}/requirements.txt
|
||||||
echo '### install from requirements.txt completed.'
|
echo '### install from requirements.txt completed.'
|
||||||
echo '### '
|
echo '### '
|
||||||
|
Loading…
Reference in New Issue
Block a user