[PATCH] Makefile: add install-mac for framework-based Python installations (issue1412)

Matt Mackall mpm at selenic.com
Sun Jan 4 23:45:47 CST 2009

On Sun, 2009-01-04 at 19:16 -0500, Brodie Rao wrote:
> # HG changeset patch
> # User Brodie Rao <me+hg at dackz.net>
> # Date 1231029019 18000
> # Node ID 08023510ff113657ef96eb0ef32b86f661062899
> # Parent  49355875c8054259ffcf4bc913a8d97ff89330b1
> Makefile: add install-mac for framework-based Python installations (issue1412)
> Apple's distributions and python.org's binary distributions of Python are
> installed as self-contained frameworks. In this case site-packages doesn't
> live under /usr/local, and --prefix is already properly configured by the
> Python installation.

If you think site-packages normally live under /usr/local/ on, say,
Linux, you have incompletely understood the problem. There's nothing
special about OS X here.

The point here is to *not* install packages by default into filesystem
spaces controlled and owned by the system software, package managers or
installers so as to not interfere with those tools. This lets people
have a clear separation between "managed" (automatically installed and
upgraded) and "unmanaged" (hand-installed and upgraded).

The bottom line is if you're installing a package from source, you're
expected to know where things belong on your particular operating

Mathematics is the supreme nostalgia of our time.

More information about the Mercurial-devel mailing list