[Pythonmac-SIG] Build/install framework Python in non-standard location

Kevin Walzer kw at kevin-walzer.com
Mon Oct 16 17:43:51 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to build a framework Python 2.5 that installs to a
non-standard location (/usr/local/python-unix-framework). The reason I'm
doing this is to link to an X11-based version of Tcl/Tk, and still be
able to use py2app for app deployment. (I have previously been able to
build a standard non-framework Python that links to an X11-based Tcl/Tk,
but the resulting binaries cannot be wrapped via py2app, and the other
wrapping tools--freeze, cx_freeze, pyinstaller--don't work well or at
all on OS X.)

I thought that using these build flags would work:

./configure --enable-framework --enable-universalsdk
- --prefix=/usr/local/python-unix-framework

Everything built fine, but when I ran sudo make install, everything
started getting placed in /Library/Frameworks. This isn't what I
wanted--that's where the official build of Python 2.5 from python.org is
installed (and which links to Tcl/Tk Aqua). I need the second
installation to test the X11 version of my application, and the official
installation to test the Aqua version.

What do I need to hack to get the frameworks to install in my preferred
location, instead of the default? And why doesn't Python pick up the
./configure flags correctly anyway?

- --Kevin

- --
Kevin Walzer
Poetic Code
http://www.kevin-walzer.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFM6i3rTC5hIgjqTMRAmIKAKCqjLDYWqndY4DaIwA9tCY7TUecVQCbBqJQ
9oGQrBvJw1rnihRSnD4jJsk=
=htwQ
-----END PGP SIGNATURE-----


More information about the Pythonmac-SIG mailing list