We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5bf7d4 commit 3bc9e44Copy full SHA for 3bc9e44
docsource/command_ref.rst
@@ -84,7 +84,16 @@ cdsitepackages
84
85
Because the exact path to the site-packages directory in the virtualenv depends on the
86
version of Python, ``cdsitepackages`` is provided as a shortcut for ``cdvirtualenv
87
-lib/python${pyvers}/site-packages``.
+lib/python${pyvers}/site-packages``. An optional argument is also allowed, to specify
88
+a directory hierarchy within the ``site-packages`` directory to change into.
89
+
90
+::
91
+ $ workon pymotw
92
+ $ echo $VIRTUAL_ENV
93
+ /Users/dhellmann/.virtualenvs/pymotw
94
+ $ cdsitepackages PyMOTW/bisect/
95
+ $ pwd
96
+ /Users/dhellmann/.virtualenvs/pymotw/lib/python2.6/site-packages/PyMOTW/bisect
97
98
===============
99
Path Management
0 commit comments