mirror of https://github.com/Desuuuu/klipper.git
scripts: Revert virtualenv workarounds
Revert "scripts: Disable "virtualenv setuptools" in install-octopi.sh script" This reverts commit5fc92ff6b7
. Revert "scripts: Install "virtualenv setuptools==44.0.0" in install-octopi.sh" This reverts commit730c7cfc20
. The online setuptools repository was fixed upstream, so it is no longer necessary to implement a local virtualenv workaround. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2b3ea29f30
commit
264aac5856
|
@ -34,11 +34,9 @@ create_virtualenv()
|
|||
report_status "Updating python virtual environment..."
|
||||
|
||||
# Create virtualenv if it doesn't already exist
|
||||
[ ! -d ${PYTHONDIR} ] && virtualenv --no-setuptools ${PYTHONDIR}
|
||||
[ ! -x ${PYTHONDIR}/bin/pip ] && virtualenv ${PYTHONDIR}
|
||||
[ ! -d ${PYTHONDIR} ] && virtualenv ${PYTHONDIR}
|
||||
|
||||
# Install/update dependencies
|
||||
${PYTHONDIR}/bin/pip install setuptools==44.0.0
|
||||
${PYTHONDIR}/bin/pip install -r ${SRCDIR}/scripts/klippy-requirements.txt
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue