Also added setuptools apt install

This commit is contained in:
boltgolt 2018-02-20 23:51:11 +01:00 committed by GitHub
parent f217eaad05
commit 8b27d08940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ time.sleep(.5)
log("Installing required apt packages")
# Install packages though apt
handleStatus(subprocess.call(["apt", "install", "-y", "git", "python-pip", "python-dev", "build-essential", "libpam-python", "fswebcam", "libopencv-dev", "python-opencv"]))
handleStatus(subprocess.call(["apt", "install", "-y", "git", "python-pip", "python-dev", "python-setuptools", "build-essential", "libpam-python", "fswebcam", "libopencv-dev", "python-opencv"]))
# Update pip
handleStatus(subprocess.call(["pip install --upgrade pip"], shell=True))