@@ -28,28 +28,48 @@ Features
28
28
6. Plugin system for more creating sharable extensions (see
29
29
:ref: `plugins `).
30
30
31
- ===========
32
- Quick Setup
31
+ ============
32
+ Installation
33
+ ============
34
+
35
+ WORKON_HOME
33
36
===========
34
37
35
- 1. Create a directory to hold all of the virtual environments. The default is
36
- ``$HOME/.virtualenvs ``.
38
+ The variable ``WORKON_HOME `` tells virtualenvwrapper where to place
39
+ your virtual environments. The default is ``$HOME/.virtualenvs ``.
40
+ This directory must be created before using any virtualenvwrapper
41
+ commands.
37
42
38
- 2. Add two lines to your shell startup file (``.bashrc ``,
39
- ``.profile ``, etc.) to set the location where the virtual
40
- environments should live and the location of the script installed
41
- with this package::
43
+ Shell Startup File
44
+ ==================
45
+
46
+ Add two lines to your shell startup file (``.bashrc ``, ``.profile ``,
47
+ etc.) to set the location where the virtual environments should live
48
+ and the location of the script installed with this package::
42
49
43
50
export WORKON_HOME=$HOME/.virtualenvs
44
51
source /usr/local/bin/virtualenvwrapper.sh
45
52
46
- 3. Reload the startup file (e.g., run: ``source ~/.bashrc ``).
47
- 4. Run: ``workon ``
48
- 5. A list of environments, empty, is printed.
49
- 6. Run: ``mkvirtualenv temp ``
50
- 7. A new environment, ``temp `` is created and activated.
51
- 8. Run: ``workon ``
52
- 9. This time, the ``temp `` environment is included.
53
+ After editing it, reload the startup file (e.g., run: ``source
54
+ ~/.bashrc ``).
55
+
56
+ Quick-Start
57
+ ===========
58
+
59
+ 1. Run: ``workon ``
60
+ 2. A list of environments, empty, is printed.
61
+ 3. Run: ``mkvirtualenv temp ``
62
+ 4. A new environment, ``temp `` is created and activated.
63
+ 5. Run: ``workon ``
64
+ 6. This time, the ``temp `` environment is included.
65
+
66
+ Temporary Files
67
+ ===============
68
+
69
+ virtualenvwrapper creates temporary files in ``$TMPDIR ``. If the
70
+ variable is not set, it uses ``/tmp ``. To change the location of
71
+ temporary files just for virtualenvwrapper, set
72
+ ``VIRTUALENVWRAPPER_TMPDIR ``.
53
73
54
74
Upgrading from 1.x
55
75
==================
0 commit comments