@@ -207,15 +207,16 @@ On Windows you just do::
207
207
208
208
And use ``deactivate.bat`` to undo the changes.
209
209
210
- The ``--no -site-packages`` Option
210
+ The ``--use -site-packages`` Option
211
211
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212
212
213
- If you build with ``virtualenv --no-site-packages ENV`` it will *not*
214
- inherit any packages from ``/usr/lib/python2.5/site-packages`` (or
215
- wherever your global site-packages directory is). This can be used if
216
- you don't have control over site-packages and don't want to depend on
217
- the packages there, or you just want more isolation from the global
218
- system.
213
+ If you build with ``virtualenv --use-site-packages ENV``, your virtual
214
+ environment will inherit packages from ``/usr/lib/python2.5/site-packages``
215
+ (or wherever your global site-packages directory is).
216
+
217
+ This can be used if you have control over the global site-packages directory,
218
+ and you want to depend on the packages there. If you want isolation from the
219
+ global system, do not use this flag.
219
220
220
221
Using Virtualenv without ``bin/python``
221
222
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -236,8 +237,7 @@ can setup the environment like::
236
237
This will change ``sys.path`` and even change ``sys.prefix``, but also allow
237
238
you to use an existing interpreter. Items in your environment will show up
238
239
first on ``sys.path``, before global items. However, global items will
239
- always be accessible -- this technique does not support the
240
- ``--no-site-packages`` flag. Also, this cannot undo the activation of other
240
+ always be accessible. Also, this cannot undo the activation of other
241
241
environments, or modules that have been imported. You shouldn't try to, for
242
242
instance, activate an environment before a web request; you should activate
243
243
*one* environment as early as possible, and not do it again in that process.
@@ -277,8 +277,8 @@ libraries on the system, if those C libraries are located somewhere
277
277
different (either different versions, or a different filesystem
278
278
layout).
279
279
280
- Currently the ``--no-site-packages`` option will not be honored if you
281
- use this on an environment .
280
+ If you use this flag to create an environment, currently, the
281
+ ``-- use-site-packages`` option will be implied .
282
282
283
283
The ``--extra-search-dir`` Option
284
284
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments