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

Skip to content

Commit 56d6410

Browse files
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 7005067 commit 56d6410

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
@@ -247,6 +247,26 @@ This almost always means you are trying to build a universal binary for
247247
Python and have libaries in ``/usr/local`` that don't contain the required
248248
architectures. Temporarily move ``/usr/local`` aside to finish the build.
249249

250+
251+
Uninstalling a framework install, including the binary installer
252+
================================================================
253+
254+
Uninstalling a framework can be done by manually removing all bits that got installed,
255+
that's true for both installations from source and installations using the binary installer.
256+
Sadly enough OSX does not have a central uninstaller.
257+
258+
The main bit of a framework install is the framework itself, installed in
259+
``/Library/Frameworks/Python.framework``. This can contain multiple versions
260+
of Python, if you want to remove just one version you have to remove the
261+
version-specific subdirectory: ``/Library/Frameworks/Python.framework/Versions/X.Y``.
262+
If you do that, ensure that ``/Library/Frameworks/Python.framework/Versions/Current``
263+
is a symlink that points to an installed version of Python.
264+
265+
A framework install also installs some applications in ``/Applications/Python X.Y``,
266+
267+
And lastly a framework installation installs files in ``/usr/local/bin``, all of
268+
them symbolic links to files in ``/Library/Frameworks/Python.framework/Versions/X.Y/bin``.
269+
250270
Odds and ends
251271
=============
252272

@@ -257,4 +277,4 @@ macresource module and the Mac/OSX/Makefile cater for this, and create
257277
files.
258278

259279
Jack Jansen, [email protected], 15-Jul-2004.
260-
Ronald Oussoren, [email protected], 26-May-2006
280+
Ronald Oussoren, [email protected], 30-April-2010

0 commit comments

Comments
 (0)