included a stripped down version of mmio to avoid python-periphery dependency

This commit is contained in:
erpalma
2018-06-29 14:52:24 +02:00
parent 47e4283b55
commit 41d58438ab
4 changed files with 122 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ echo "Copying systemd service file..."
cp systemd/lenovo_fix.service /etc/systemd/system
echo "Building virtualenv..."
cp requirements.txt lenovo_fix.py "$INSTALL_DIR"
cp requirements.txt lenovo_fix.py mmio.py "$INSTALL_DIR"
cd "$INSTALL_DIR"
virtualenv -p /usr/bin/python3 venv
. venv/bin/activate