-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Walzer wrote:
> However, in light of what you've said, I've hacked the universal > setup.py with some code from the current 2.4.3 setup.py that hard-codes > some additional search paths for my specialized stuff (derived from code > that searches for Fink and DarwinPorts): > > if sys.platform == "darwin": > # kevin's custom build of tcl/tk installs > add_dir_to_list(self.compiler.library_dirs, > '/usr/local/tcl-tk-unix/lib') > add_dir_to_list(self.compiler.include_dirs, > '/usr/local/tcl-tk-unix/include') > > > I will report back if this works. Success! Kevin-Walzers-Computer:~/python24-fat kevin$ file /usr/local/python-unix/bin/python /usr/local/python-unix/bin/python: Mach-O fat file with 2 architectures /usr/local/python-unix/bin/python (for architecture ppc): Mach-O executable ppc /usr/local/python-unix/bin/python (for architecture i386): Mach-O executable i386 I used the hacked-up setup.py and also added the "--enable-universalsdk" and "prefix=/usr/local/python-unix". I still think the setup.py should recognize custom CFLAGS and LDFLAGS, but this was a successful workaround. Thanks to Ron and Bob for their advice--I wouldn't have figured this out by myself. - -- 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 iD8DBQFElWNorTC5hIgjqTMRArJCAJoCy24MJNN+VuGRUMmvFAEDxTMcUgCeJLPV TpsnSU4ywHTvjvQFz683rCk= =rxw+ -----END PGP SIGNATURE----- _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig