* 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
18 lines
480 B
Bash
18 lines
480 B
Bash
#!/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
|