Bump humanize from 2.5.0 to 3.1.0 (#9)
* Bump humanize from 2.5.0 to 3.1.0 Bumps [humanize](https://github.com/jmoiron/humanize) from 2.5.0 to 3.1.0. - [Release notes](https://github.com/jmoiron/humanize/releases) - [Commits](https://github.com/jmoiron/humanize/compare/2.5.0...3.1.0) Signed-off-by: dependabot[bot] <support@github.com> * Create update-python-venv.sh Create update virtual-env script
This commit is contained in:
@@ -2,4 +2,4 @@ websocket==0.2.1
|
|||||||
requests==2.24.0
|
requests==2.24.0
|
||||||
vext==0.7.4
|
vext==0.7.4
|
||||||
websocket-client==0.57.0
|
websocket-client==0.57.0
|
||||||
humanize==2.5.0
|
humanize==3.1.0
|
||||||
|
17
scripts/update-python-venv.sh
Normal file
17
scripts/update-python-venv.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||||
|
KSPATH=$(sed 's/\/scripts//g' <<< $SCRIPTPATH)
|
||||||
|
KSENV="${HOME}/.KlipperScreen-env"
|
||||||
|
|
||||||
|
update_virtualenv()
|
||||||
|
{
|
||||||
|
echo "Creating virtual environment"
|
||||||
|
[ ! -d ${KSENV} ] && virtualenv -p /usr/bin/python3 ${KSENV}
|
||||||
|
|
||||||
|
${KSENV}/bin/pip install -r ${KSPATH}/scripts/KlipperScreen-requirements.txt
|
||||||
|
${KSENV}/bin/pip install --no-binary ":all" "vext.gi==0.7.4"
|
||||||
|
${KSENV}/bin/vext -e
|
||||||
|
}
|
||||||
|
|
||||||
|
update_virtualenv
|
Reference in New Issue
Block a user