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:
dependabot[bot] 2020-11-14 13:14:24 -05:00 committed by GitHub
parent ca9f869ac3
commit 127237fd76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -2,4 +2,4 @@ websocket==0.2.1
requests==2.24.0
vext==0.7.4
websocket-client==0.57.0
humanize==2.5.0
humanize==3.1.0

View 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