Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac4e54a

Browse files
Merged revisions 80659 via svnmerge from
svn+ssh://[email protected]/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://[email protected]/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. ........ ................
1 parent 72a8b7d commit ac4e54a

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

Mac/README

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,26 @@ This almost always means you are trying to build a universal binary for
224224
Python and have libaries in ``/usr/local`` that don't contain the required
225225
architectures. Temporarily move ``/usr/local`` aside to finish the build.
226226

227+
228+
Uninstalling a framework install, including the binary installer
229+
================================================================
230+
231+
Uninstalling a framework can be done by manually removing all bits that got installed,
232+
that's true for both installations from source and installations using the binary installer.
233+
Sadly enough OSX does not have a central uninstaller.
234+
235+
The main bit of a framework install is the framework itself, installed in
236+
``/Library/Frameworks/Python.framework``. This can contain multiple versions
237+
of Python, if you want to remove just one version you have to remove the
238+
version-specific subdirectory: ``/Library/Frameworks/Python.framework/Versions/X.Y``.
239+
If you do that, ensure that ``/Library/Frameworks/Python.framework/Versions/Current``
240+
is a symlink that points to an installed version of Python.
241+
242+
A framework install also installs some applications in ``/Applications/Python X.Y``,
243+
244+
And lastly a framework installation installs files in ``/usr/local/bin``, all of
245+
them symbolic links to files in ``/Library/Frameworks/Python.framework/Versions/X.Y/bin``.
246+
227247
Odds and ends
228248
=============
229249

@@ -234,4 +254,4 @@ macresource module and the Mac/OSX/Makefile cater for this, and create
234254
files.
235255

236256
Jack Jansen, [email protected], 15-Jul-2004.
237-
Ronald Oussoren, [email protected], 26-May-2006
257+
Ronald Oussoren, [email protected], 30-April-2010

0 commit comments

Comments
 (0)