Skip to content

Commit

Permalink
Merge pull request #59 from floriankisser/master
Browse files Browse the repository at this point in the history
use builtin venv
  • Loading branch information
erpalma committed Oct 21, 2018
2 parents b571aef + ce4a75c commit 79f1db4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -53,7 +53,7 @@ Thanks to *felixonmars* for creating and maintaining this package.

### Debian/Ubuntu
```
sudo apt install git virtualenv build-essential python3-dev libdbus-glib-1-dev libgirepository1.0-dev libcairo2-dev
sudo apt install git build-essential python3-dev libdbus-glib-1-dev libgirepository1.0-dev libcairo2-dev
git clone https://github.com/erpalma/lenovo-throttling-fix.git
sudo ./lenovo-throttling-fix/install.sh
```
Expand All @@ -71,7 +71,7 @@ sudo systemctl mask thermald.service

### Fedora
```
dnf install python3-cairo-devel cairo-gobject-devel gobject-introspection-devel dbus-glib-devel python-virtualenv python3-devel python3-virtualenv
dnf install python3-cairo-devel cairo-gobject-devel gobject-introspection-devel dbus-glib-devel python3-devel
git clone https://github.com/erpalma/lenovo-throttling-fix.git
sudo ./lenovo-throttling-fix/install.sh
```
Expand All @@ -80,7 +80,7 @@ Feedback about Fedora installation is welcome.
### openSUSE
User *brycecordill* reported that the following dependecies are required for installing in openSUSE. I guess that python2 dependecies can be safely dropped. I would really appreciate any feedback from openSUSE users.
```
zypper install gcc python2-pip python3-devel python-devel dbus-1-glib-devel python3-cairo-devel cairo-devel python2-cairo-devel python3-gobject-cairo gobject-introspection-devel python-virtualenv
zypper install gcc python2-pip python3-devel python-devel dbus-1-glib-devel python3-cairo-devel cairo-devel python2-cairo-devel python3-gobject-cairo gobject-introspection-devel
git clone https://github.com/erpalma/lenovo-throttling-fix.git
sudo ./lenovo-throttling-fix/install.sh
```
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Expand Up @@ -22,7 +22,7 @@ cp systemd/lenovo_fix.service /etc/systemd/system
echo "Building virtualenv..."
cp requirements.txt lenovo_fix.py mmio.py "$INSTALL_DIR"
cd "$INSTALL_DIR"
virtualenv -p /usr/bin/python3 venv
/usr/bin/python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt

Expand Down

0 comments on commit 79f1db4

Please sign in to comment.