Skip to content

Commit 7960e3a

Browse files
authored
Update README.md virtual environment section (slgobinath#559)
Refer to the built-in venv module instead of the third party virtualenv module. Also do some minor text changes. Fixes issue slgobinath#525.
1 parent 4c43de8 commit 7960e3a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ python3 -m safeeyes
120120
Safe Eyes installers install the required icons to `/usr/share/icons/hicolor`. When you run Safe Eyes from source without, some icons may not appear.
121121

122122

123-
### Install in Virtual Environment
123+
### Install in a virtual environment
124124

125-
Some Linux systems like Cent OS do not have matching dependencies available in their repository. In such systems, you can install and use Safe Eyes in a Python Virtual Environment. The following instruction was tested on Cent OS 7.
125+
Some Linux systems like CentOS do not have matching dependencies available in their repository. In such systems, you can install and use Safe Eyes in a Python virtual environment.
126126

127-
1. Install the necessary dependencies
127+
1. Install the necessary dependencies for CentOS 7
128128

129129
```bash
130130
sudo yum install python3-devel dbus dbus-devel cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel gobject-introspection-devel cairo-gobject-devel
@@ -136,13 +136,12 @@ Some Linux systems like Cent OS do not have matching dependencies available in t
136136
mkdir ~/safeeyes
137137
cd ~/safeeyes/
138138
139-
pip3 install virtualenv --user
140-
virtualenv --no-site-packages venv
139+
python3 -m venv venv
141140
source venv/bin/activate
142141
pip3 install dbus-python safeeyes
143142
```
144143

145-
3. Start Safe Eyes from terminal
144+
3. Start Safe Eyes from the terminal
146145

147146
```bash
148147
cd ~/safeeyes & source venv/bin/activate

0 commit comments

Comments
 (0)