Commit 0be0a42b authored by PJ Eby's avatar PJ Eby

Minor doc tweaks, and add release note about symlink support.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041231
parent 9b6dcdbf
...@@ -688,7 +688,11 @@ contents:: ...@@ -688,7 +688,11 @@ contents::
install_lib = ~/Library/Python$py_version_short/site-packages install_lib = ~/Library/Python$py_version_short/site-packages
This will tell the distutils (and EasyInstall) to always install packages in This will tell the distutils (and EasyInstall) to always install packages in
the appropriate personal ``site-packages`` directory. the appropriate personal ``site-packages`` directory. (Note: do *not* replace
``$py_version_short`` with an actual Python version in the configuration file!
The distutils will substitute the correct value at runtime, so that the above
configuration file will work correctly no matter what Python version you use,
now or in the future.)
If you are on a Linux, BSD, Cygwin, or other similar Unix-like operating If you are on a Linux, BSD, Cygwin, or other similar Unix-like operating
system, you should create a ``~/lib/python2.x/site-packages`` directory system, you should create a ``~/lib/python2.x/site-packages`` directory
...@@ -725,16 +729,16 @@ Finally, you will also need a private ``python`` executable, e.g.:: ...@@ -725,16 +729,16 @@ Finally, you will also need a private ``python`` executable, e.g.::
Note that if hardlinking as shown doesn't work (e.g. because the system Python Note that if hardlinking as shown doesn't work (e.g. because the system Python
is on a different filesystem), you should use ``copy -p`` instead of ``ln``. is on a different filesystem), you should use ``copy -p`` instead of ``ln``.
Do NOT use a symlink; the Python binary must be copied or hardlinked, otherwise Do NOT use a symlink! The Python binary must be copied or hardlinked,
it will use the system ``site-packages`` directory and not yours. otherwise it will use the system ``site-packages`` directory and not yours.
Note that if you were previously setting a ``PYTHONPATH`` and/or had other Note that if you were previously setting a ``PYTHONPATH`` and/or had other
special configuration options in your ``~/.pydistutils.cfg``, you may need to special configuration options in your ``~/.pydistutils.cfg``, you may need to
remove these settings, after relocating any older installed modules to your remove these settings and relocate any older installed modules to your
new ``~/lib/python2.x/site-packages`` directory. Also note that you must now new ``~/lib/python2.x/site-packages`` directory. Also note that you must now
make sure to use the ``~/bin/python`` executable instead of the system Python, make sure to use the ``~/bin/python`` executable instead of the system Python,
and ideally you should put ``~/bin`` first on your ``PATH`` as well, because and ideally you should put the ``~/bin`` directory first on your ``PATH`` as
that is where EasyInstall will install new Python scripts. well, because that is where EasyInstall will install new Python scripts.
Release Notes/Change History Release Notes/Change History
...@@ -758,6 +762,11 @@ Known Issues ...@@ -758,6 +762,11 @@ Known Issues
* EasyInstall now does MD5 validation of downloads from PyPI, or from any link * EasyInstall now does MD5 validation of downloads from PyPI, or from any link
that has an "#md5=..." trailer with a 32-digit lowercase hex md5 digest. that has an "#md5=..." trailer with a 32-digit lowercase hex md5 digest.
* EasyInstall now handles symlinks in target directories by removing the link,
rather than attempting to overwrite the link's destination. This makes it
easier to set up an alternate Python "home" directory (as described above in
the `Non-Root Installation`_ section).
* Added support for handling MacOS platform information in ``.egg`` filenames, * Added support for handling MacOS platform information in ``.egg`` filenames,
based on a contribution by Kevin Dangoor. You may wish to delete and based on a contribution by Kevin Dangoor. You may wish to delete and
reinstall any eggs whose filename includes "darwin" and "Power_Macintosh", reinstall any eggs whose filename includes "darwin" and "Power_Macintosh",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment