mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-02-17 04:30:13 +00:00
trying python v 3.12
This commit is contained in:
parent
a61751e1fb
commit
5948db2555
@ -16,5 +16,5 @@ platformdirs==4.0
|
|||||||
pytz==2023.3
|
pytz==2023.3
|
||||||
ruff==0.1
|
ruff==0.1
|
||||||
soupsieve==2.5
|
soupsieve==2.5
|
||||||
sqlparse==0.4
|
sqlparse
|
||||||
piexif==1.1
|
piexif
|
||||||
|
@ -78,10 +78,8 @@ echo "### installing later version of pip inside $VENAME"
|
|||||||
$PYTHON -m pip install --upgrade pip
|
$PYTHON -m pip install --upgrade pip
|
||||||
$PYTHON -m pip install --upgrade setuptools
|
$PYTHON -m pip install --upgrade setuptools
|
||||||
|
|
||||||
PIP=pip
|
$PYTHON -m pip list > original-pip.list
|
||||||
|
$PYTHON -m pip freeze >original.txt
|
||||||
$PIP list > original-pip.list
|
|
||||||
$PIP freeze >original.txt
|
|
||||||
|
|
||||||
# we are in /home/$USER/$VENAME/
|
# we are in /home/$USER/$VENAME/
|
||||||
ln -s ${TROGDIR} troggle
|
ln -s ${TROGDIR} troggle
|
||||||
@ -115,17 +113,17 @@ cat ${TROGDIR}/${REQUIRE}
|
|||||||
cp -f ${TROGDIR}/${REQUIRE} ${TROGDIR}/${REQUIRE}.orig
|
cp -f ${TROGDIR}/${REQUIRE} ${TROGDIR}/${REQUIRE}.orig
|
||||||
|
|
||||||
read -p "Press any key to resume ..."
|
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 "### install from ${TROGDIR}/${REQUIRE} completed."
|
||||||
echo '### '
|
echo '### '
|
||||||
|
|
||||||
# this installs pre-release django 5.0
|
# this installs pre-release django 5.0
|
||||||
if [[ "${VENAME:(-1)}" == 5 ]]; then
|
if [[ "${VENAME:(-1)}" == 5 ]]; then
|
||||||
echo "### Installing pre-release version of Django"
|
echo "### Installing pre-release version of Django"
|
||||||
$PIP install --pre django
|
$PYTHON -m pip install --pre django
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$PIP freeze > $REQUIRE.freeze
|
$PYTHON -m pip freeze > $REQUIRE.freeze
|
||||||
# so that we can track requirements more easily with git
|
# 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
|
# 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
|
# 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 requirements-$VENAME.txt
|
||||||
cp $REQUIRE troggle/$REQUIRE
|
cp $REQUIRE troggle/$REQUIRE
|
||||||
|
|
||||||
$PIP list > installed-pip.list
|
$PYTHON -m pip list > installed-pip.list
|
||||||
$PIP list -o > installed-pip-o.list
|
$PYTHON -m pip list -o > installed-pip-o.list
|
||||||
|
|
||||||
REQ=installation-record
|
REQ=installation-record
|
||||||
mkdir $REQ
|
mkdir $REQ
|
||||||
|
Loading…
x
Reference in New Issue
Block a user