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:
Kevin O'Connor 2020-01-12 16:10:55 -05:00
parent 2f8ad5e6ac
commit 5fc92ff6b7
1 changed files with 2 additions and 1 deletions

View File

@ -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