OLD | NEW |
| (Empty) |
1 Installation | |
2 ============ | |
3 | |
4 .. warning:: | |
5 | |
6 We advise installing virtualenv-1.9 or greater. Prior to version 1.9, the | |
7 pip included in virtualenv did not download from PyPI over SSL. | |
8 | |
9 .. warning:: | |
10 | |
11 When using pip to install virtualenv, we advise using pip 1.3 or greater. | |
12 Prior to version 1.3, pip did not download from PyPI over SSL. | |
13 | |
14 .. warning:: | |
15 | |
16 We advise against using easy_install to install virtualenv when using | |
17 setuptools < 0.9.7, because easy_install didn't download from PyPI over SSL | |
18 and was broken in some subtle ways. | |
19 | |
20 To install globally with `pip` (if you have pip 1.3 or greater installed globall
y): | |
21 | |
22 :: | |
23 | |
24 $ [sudo] pip install virtualenv | |
25 | |
26 Or to get the latest unreleased dev version: | |
27 | |
28 :: | |
29 | |
30 $ [sudo] pip install https://github.com/pypa/virtualenv/tarball/develop | |
31 | |
32 | |
33 To install version X.X globally from source: | |
34 | |
35 :: | |
36 | |
37 $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.t
ar.gz | |
38 $ tar xvfz virtualenv-X.X.tar.gz | |
39 $ cd virtualenv-X.X | |
40 $ [sudo] python setup.py install | |
41 | |
42 | |
43 To *use* locally from source: | |
44 | |
45 :: | |
46 | |
47 $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.t
ar.gz | |
48 $ tar xvfz virtualenv-X.X.tar.gz | |
49 $ cd virtualenv-X.X | |
50 $ python virtualenv.py myVE | |
51 | |
52 .. note:: | |
53 | |
54 The ``virtualenv.py`` script is *not* supported if run without the | |
55 necessary pip/setuptools/virtualenv distributions available locally. All | |
56 of the installation methods above include a ``virtualenv_support`` | |
57 directory alongside ``virtualenv.py`` which contains a complete set of | |
58 pip and setuptools distributions, and so are fully supported. | |
OLD | NEW |