Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed virtual-python.py from this distribution and updated document…
…ation to point to the actively maintained virtualenv instead.

--HG--
branch : distribute
extra : rebase_source : accfddb40177f981dbf0e5886039fcb27c1be573
  • Loading branch information
hannosch committed Oct 23, 2009
1 parent a858356 commit 43d3473
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 151 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -6,6 +6,8 @@ CHANGES
0.6.7
-----

* Removed virtual-python.py from this distribution and updated documentation
to point to the actively maintained virtualenv instead.
* Issue 64: use_setuptools no longer rebuilds the distribute egg every
time it is run
* use_setuptools now properly respects the requested version
Expand Down
32 changes: 4 additions & 28 deletions docs/easy_install.txt
Expand Up @@ -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
Expand Down
123 changes: 0 additions & 123 deletions virtual-python.py

This file was deleted.

0 comments on commit 43d3473

Please sign in to comment.