2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-23 07:41:52 +00:00

trying python v 3.12

This commit is contained in:
Philip Sargent 2024-02-21 01:04:54 +00:00
parent a61751e1fb
commit 5948db2555
2 changed files with 9 additions and 11 deletions

View File

@ -16,5 +16,5 @@ platformdirs==4.0
pytz==2023.3
ruff==0.1
soupsieve==2.5
sqlparse==0.4
piexif==1.1
sqlparse
piexif

View File

@ -78,10 +78,8 @@ echo "### installing later version of pip inside $VENAME"
$PYTHON -m pip install --upgrade pip
$PYTHON -m pip install --upgrade setuptools
PIP=pip
$PIP list > original-pip.list
$PIP freeze >original.txt
$PYTHON -m pip list > original-pip.list
$PYTHON -m pip freeze >original.txt
# we are in /home/$USER/$VENAME/
ln -s ${TROGDIR} troggle
@ -115,17 +113,17 @@ cat ${TROGDIR}/${REQUIRE}
cp -f ${TROGDIR}/${REQUIRE} ${TROGDIR}/${REQUIRE}.orig
read -p "Press any key to resume ..."
$PIP install -r ${TROGDIR}/${REQUIRE}
$PYTHON -m pip install -r ${TROGDIR}/${REQUIRE}
echo "### install from ${TROGDIR}/${REQUIRE} completed."
echo '### '
# this installs pre-release django 5.0
if [[ "${VENAME:(-1)}" == 5 ]]; then
echo "### Installing pre-release version of Django"
$PIP install --pre django
$PYTHON -m pip install --pre django
fi
$PIP freeze > $REQUIRE.freeze
$PYTHON -m pip freeze > $REQUIRE.freeze
# so that we can track requirements more easily with git
# because we do not install these with pip, but they are listed by the freeze command
# Now find out what we actually installed by subtracting the stuff venv installed anyway
@ -138,8 +136,8 @@ rm 2
# cp $REQUIRE requirements-$VENAME.txt
cp $REQUIRE troggle/$REQUIRE
$PIP list > installed-pip.list
$PIP list -o > installed-pip-o.list
$PYTHON -m pip list > installed-pip.list
$PYTHON -m pip list -o > installed-pip-o.list
REQ=installation-record
mkdir $REQ