Skip to content

Commit 19db184

Browse files
author
Artie Gold
committed
Add notes that --no-site-packages is default behavior for virtualenv
from version 1.7 onward. Close realpython#193.
1 parent ffdde4a commit 19db184

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/dev/env.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ Other Notes
233233
Running ``virtualenv`` with the option ``--no-site-packages`` will not
234234
include the packages that are installed globally. This can be useful
235235
for keeping the package list clean in case it needs to be accessed later.
236+
[This is the default behavior for ``virtualenv`` 1.7 and later.]
236237

237238
In order to keep your environment consistent, it's a good idea to "freeze"
238239
the current state of the environment packages. To do this, run
@@ -276,6 +277,7 @@ Put this into your `~/.bash_profile` (Linux/Mac) file:
276277

277278
This will prevent your virtualenvs from relying on your (global) site packages
278279
directory, so that they are completely separate..
280+
[note: This is the default behavior for ``virtualenv`` 1.7 and later]
279281

280282
Other Tools
281283
:::::::::::

0 commit comments

Comments
 (0)