Merged revisions 80659 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80659 | ronald.oussoren | 2010-04-30 17:13:13 +0200 (Fri, 30 Apr 2010) | 10 lines

  Merged revisions 80657 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r80657 | ronald.oussoren | 2010-04-30 17:11:22 +0200 (Fri, 30 Apr 2010) | 3 lines

    Add notes about uninstalling a framework install to
    Mac/README. Fixes issue 7107.
  ........
................
This commit is contained in:
Ronald Oussoren 2010-04-30 15:13:51 +00:00
parent 72a8b7d22d
commit ac4e54ad8f
1 changed files with 21 additions and 1 deletions

View File

@ -224,6 +224,26 @@ This almost always means you are trying to build a universal binary for
Python and have libaries in ``/usr/local`` that don't contain the required
architectures. Temporarily move ``/usr/local`` aside to finish the build.
Uninstalling a framework install, including the binary installer
================================================================
Uninstalling a framework can be done by manually removing all bits that got installed,
that's true for both installations from source and installations using the binary installer.
Sadly enough OSX does not have a central uninstaller.
The main bit of a framework install is the framework itself, installed in
``/Library/Frameworks/Python.framework``. This can contain multiple versions
of Python, if you want to remove just one version you have to remove the
version-specific subdirectory: ``/Library/Frameworks/Python.framework/Versions/X.Y``.
If you do that, ensure that ``/Library/Frameworks/Python.framework/Versions/Current``
is a symlink that points to an installed version of Python.
A framework install also installs some applications in ``/Applications/Python X.Y``,
And lastly a framework installation installs files in ``/usr/local/bin``, all of
them symbolic links to files in ``/Library/Frameworks/Python.framework/Versions/X.Y/bin``.
Odds and ends
=============
@ -234,4 +254,4 @@ macresource module and the Mac/OSX/Makefile cater for this, and create
files.
Jack Jansen, Jack.Jansen@cwi.nl, 15-Jul-2004.
Ronald Oussoren, RonaldOussoren@mac.com, 26-May-2006
Ronald Oussoren, RonaldOussoren@mac.com, 30-April-2010