Skip to content

Commit 4938a5d

Browse files
committed
remove premature release
--HG-- extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401769
1 parent c24fc82 commit 4938a5d

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

README

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,20 @@ Quick Setup
1313
5. A list of environments, empty, is printed.
1414
6. Run: ``mkvirtualenv temp``
1515
7. Run: ``workon``
16-
8. This time, the ``temp`` environment is included.
17-
9. Run: ``workon temp``
18-
10. The virtual environment is activated.
16+
8. A new environment, ``temp`` is created and activated.
17+
9. This time, the ``temp`` environment is included.
18+
19+
20+
===============
21+
Path Management
22+
===============
23+
24+
Sometimes it is desirable to share installed packages that are not in the system ``site-pacakges`` directory and which you do not want to install in each virtualenv. In this case, you *could* symlink the source into the environment ``site-packages`` directory, but it is also easy to add extra directories to the PYTHONPATH by including them in a .pth file inside ``site-packages`` using ``add2virtualenv``.
25+
26+
1. Check out the source for a big project, such as Django.
27+
2. Run: ``add2virtualenv path_to_source``.
28+
3. Run: ``add2virtualenv``.
29+
4. A usage message and list of current "extra" paths is printed.
1930

2031
==========
2132
References

virtualenvwrapper_bashrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ complete -o default -o nospace -F _virtualenvs workon
146146
complete -o default -o nospace -F _virtualenvs rmvirtualenv
147147

148148
# Path management for packages outside of the virtual env.
149-
# Based on a contribution from James Bennett.
149+
# Based on a contribution from James Bennett and Jannis Leidel.
150150
#
151151
# add2virtualenv directory1 directory2 ...
152152
#

0 commit comments

Comments
 (0)