Skip to content

Commit 00e7655

Browse files
committed
Fixed a missing bracket, added a small chunk to the example.
1 parent e03d247 commit 00e7655

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/starting/dev-env.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,21 @@ It solves the "Project X depends on version 1.x but, Project Y needs 4.x" dilemm
9999

100100
`virtualenv <http://www.virtualenv.org/en/latest/index.html>`_ creates
101101
a folder which contains all the necessary executables to contain the
102-
packages that a Python project would need. An example workflow:
102+
packages that a Python project would need. An example workflow is given.
103103

104-
Install virtualenv:
104+
Install virtualenv
105105

106106
::
107107

108108
$ pip install virtualenv
109109

110-
or, depending on what's available:
110+
or, depending on what's available
111111

112112
::
113113

114114
$ easy_install virtualenv
115115

116-
Create a virtual environment for a project:
116+
Create a virtual environment for a project
117117

118118
::
119119

@@ -142,11 +142,14 @@ The name of the current virtual environment will now appear on the left
142142
of the prompt (e.g. ``(venv)Your-Computer:your_project UserName$``) to
143143
let you know that it's active. From now on, any package that you install
144144
using ``pip`` will be placed in the venv folder, isolated from the global
145-
Python installation.
145+
Python installation. Install packages as usual.
146+
147+
::
148+
$ pip install requests
146149

147150
To stop using an environment simply type ``deactivate``. To remove the
148151
environment, just remove the directory it was installed into. (In this
149-
case, it would be ``rm -rf venv``.
152+
case, it would be ``rm -rf venv``).
150153

151154
Other Notes
152155
~~~~~~~~~~~

0 commit comments

Comments
 (0)