File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 23
23
named hooks.
24
24
- Add support for listing the available hooks, to be used in help
25
25
output of commands like virtualenvwrapper.project's mkproject.
26
+ - Fix mkvirtualenv -h option behavior.
26
27
27
28
2.0.2
28
29
Original file line number Diff line number Diff line change 2
2
Installation
3
3
============
4
4
5
+ Basic Installation
6
+ ==================
7
+
8
+ virtualenvwrapper should be installed using pip _::
9
+
10
+ $ pip install virtualenvwrapper
11
+
12
+ You will want to install it into the global Python site-packages area,
13
+ along with virtualenv. You may need administrative privileges to do
14
+ that.
15
+
5
16
WORKON_HOME
6
17
===========
7
18
@@ -10,6 +21,8 @@ your virtual environments. The default is ``$HOME/.virtualenvs``.
10
21
This directory must be created before using any virtualenvwrapper
11
22
commands.
12
23
24
+ .. _install-shell-config :
25
+
13
26
Shell Startup File
14
27
==================
15
28
@@ -70,3 +83,5 @@ the 2.x series to reflect the fact that shells other than bash are
70
83
supported. In your startup file, change ``source
71
84
/usr/local/bin/virtualenvwrapper_bashrc `` to ``source
72
85
/usr/local/bin/virtualenvwrapper.sh ``.
86
+
87
+ .. _pip : http://pypi.python.org/pypi/pip
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ mkvirtualenv () {
158
158
virtualenvwrapper_verify_virtualenv || return 1
159
159
(cd " $WORKON_HOME " &&
160
160
virtualenv " $@ " &&
161
- virtualenvwrapper_run_hook " pre_mkvirtualenv" " $envname "
161
+ [ -d " $WORKON_HOME / $envname " ] && virtualenvwrapper_run_hook " pre_mkvirtualenv" " $envname "
162
162
)
163
163
# If they passed a help option or got an error from virtualenv,
164
164
# the environment won't exist. Use that to tell whether
You can’t perform that action at this time.
0 commit comments