Commits

Doug Hellmann committed 4938a5d

remove premature release

--HG--
extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401769

Comments (0)

Files changed (2)

 5. A list of environments, empty, is printed.
 6. Run: ``mkvirtualenv temp``
 7. Run: ``workon``
-8. This time, the ``temp`` environment is included.
-9. Run: ``workon temp``
-10. The virtual environment is activated.
+8. A new environment, ``temp`` is created and activated.
+9. This time, the ``temp`` environment is included.
+
+
+===============
+Path Management
+===============
+
+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``.
+
+1. Check out the source for a big project, such as Django.
+2. Run: ``add2virtualenv path_to_source``.
+3. Run: ``add2virtualenv``.
+4. A usage message and list of current "extra" paths is printed.
 
 ==========
 References

virtualenvwrapper_bashrc

 complete -o default -o nospace -F _virtualenvs rmvirtualenv
 
 # Path management for packages outside of the virtual env.
-# Based on a contribution from James Bennett.
+# Based on a contribution from James Bennett and Jannis Leidel.
 #
 # add2virtualenv directory1 directory2 ...
 #
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.