mirror of https://github.com/Desuuuu/klipper.git
scripts: Disable "virtualenv setuptools" in install-octopi.sh script
The default setuptools installed by virtaulenv has dropped support for python2. Explicitly remove it from the installation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2f8ad5e6ac
commit
5fc92ff6b7
|
@ -34,7 +34,8 @@ create_virtualenv()
|
||||||
report_status "Updating python virtual environment..."
|
report_status "Updating python virtual environment..."
|
||||||
|
|
||||||
# Create virtualenv if it doesn't already exist
|
# Create virtualenv if it doesn't already exist
|
||||||
[ ! -d ${PYTHONDIR} ] && virtualenv ${PYTHONDIR}
|
[ ! -d ${PYTHONDIR} ] && virtualenv --no-setuptools ${PYTHONDIR}
|
||||||
|
[ ! -x ${PYTHONDIR}/bin/pip ] && virtualenv ${PYTHONDIR}
|
||||||
|
|
||||||
# Install/update dependencies
|
# Install/update dependencies
|
||||||
${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
|
${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue