File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -364,3 +364,31 @@ The directory names are added to a path file named
364364for the environment.
365365
366366*Based on a contribution from James Bennett and Jannis Leidel. *
367+
368+ toggleglobalsitepackages
369+ ------------------------
370+
371+ Toggles the state of the currently active virtualenv's access to the packages
372+ in the global python ``site-packages `` directory.
373+
374+ Syntax::
375+
376+ toggleglobalsitepackages [-q]
377+
378+ Outputs the new state of the virtualenv. Use the ``-q `` switch to turn off all
379+ output.
380+
381+ ::
382+
383+ $ mkvirtualenv env1
384+ New python executable in env1/bin/python
385+ Installing distribute.............................................
386+ ..................................................................
387+ ..................................................................
388+ done.
389+ (env1)$ toggleglobalsitepackages
390+ Disabled global site-packages
391+ (env1)$ toggleglobalsitepackages
392+ Enabled global site-packages
393+ (env1)$ toggleglobalsitepackages -q
394+ (env1)$
You can’t perform that action at this time.
0 commit comments