diff options
| author | Hanno Schlichting <hanno@hannosch.eu> | 2009-10-24 01:11:48 +0200 |
|---|---|---|
| committer | Hanno Schlichting <hanno@hannosch.eu> | 2009-10-24 01:11:48 +0200 |
| commit | 43d34734c801d2d9a72d5fa6e7fc74d80bdc11c1 (patch) | |
| tree | d5713cb1ef1f8755413ac254a1f298c9b91f6da1 /docs/easy_install.txt | |
| parent | a858356a4e28396a0828573d9a5074da67f6dc62 (diff) | |
| download | python-setuptools-git-43d34734c801d2d9a72d5fa6e7fc74d80bdc11c1.tar.gz | |
Removed virtual-python.py from this distribution and updated documentation to point to the actively maintained virtualenv instead.
--HG--
branch : distribute
extra : rebase_source : accfddb40177f981dbf0e5886039fcb27c1be573
Diffstat (limited to 'docs/easy_install.txt')
| -rw-r--r-- | docs/easy_install.txt | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/docs/easy_install.txt b/docs/easy_install.txt index b821e5ca..5fa83542 100644 --- a/docs/easy_install.txt +++ b/docs/easy_install.txt @@ -1073,34 +1073,10 @@ system, but don't have root access, you can create your own "virtual" Python installation, which uses its own library directories and some symlinks to the site-wide Python. -In the simplest case, your virtual Python installation will live under the -``~/lib/python2.x``, ``~/include/python2.x``, and ``~/bin`` directories. Just -download `virtual-python.py`_ and run it using the site-wide Python. If you -want to customize the location, you can use the ``--prefix`` option to specify -an installation base directory in place of ``~``. (Use ``--help`` to get the -complete list of options.) - -.. _virtual-python.py: http://peak.telecommunity.com/dist/virtual-python.py - -When you're done, you'll have a ``~/bin/python`` executable that's linked to -the local Python installation and inherits all its current libraries, but which -allows you to add as many new libraries as you want. Simply use this new -Python in place of your system-defined one, and you can modify it as you like -without breaking anything that relies on the system Python. You'll also still -need to follow the standard `installation instructions`_ to install setuptools -and EasyInstall, using your new ``~/bin/python`` executable in place of the -system Python. - -Note that if you were previously setting a ``PYTHONPATH`` and/or had other -special configuration options in your ``~/.pydistutils.cfg``, you may need to -remove these settings *before* running ``virtual-python.py``. This is because -your new Python executable will not need *any* custom configuration for the -distutils or EasyInstall; everything will go to the correct ``~/lib`` and -``~/bin`` directories automatically. - -You should, however, also make sure that the ``bin`` subdirectory of your -installation prefix (e.g. ``~/bin``) is on your ``PATH``, because that is where -EasyInstall and the distutils will install new Python scripts. +Please refer to the `virtualenv`_ documentation for creating such an +environment. + +.. _virtualenv: http://pypi.python.org/pypi/virtualenv "Traditional" ``PYTHONPATH``-based Installation |
