<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>captnswing.net - Latest Comments</title><link>http://captnswing.disqus.com/</link><description></description><atom:link href="https://captnswing.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 30 Jul 2009 04:09:48 -0000</lastBuildDate><item><title>Re: 64bit, multi-arch python web stack (i.e. FAT apache, mod_wsgi, python and mysql) on OS X 10.5 Leopard</title><link>http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/#comment-13651478</link><description>&lt;p&gt;Everything worked fine for me.&lt;br&gt;I installed python 2.6.2 from the source, as I tried to compile mysql-python I had this error:&lt;/p&gt;&lt;p&gt;Traceback (most recent call last):&lt;br&gt;  File "&lt;a href="http://setup.py" rel="nofollow noopener" target="_blank" title="setup.py"&gt;setup.py&lt;/a&gt;", line 5, in &amp;lt;module&amp;gt;&lt;br&gt;    from setuptools import setup, Extension&lt;br&gt;ImportError: No module named setuptools&lt;/p&gt;&lt;p&gt;and just installed the module following these indications &lt;a href="http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other" rel="nofollow noopener" target="_blank" title="http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other"&gt;http://pypi.python.org/pypi...&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">piergiorgioniero</dc:creator><pubDate>Thu, 30 Jul 2009 04:09:48 -0000</pubDate></item><item><title>Re: 64bit, multi-arch python web stack (i.e. FAT apache, mod_wsgi, python and mysql) on OS X 10.5 Leopard</title><link>http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/#comment-10585610</link><description>&lt;p&gt;@Graham Dumpleton&lt;/p&gt;&lt;p&gt;I am setting up a brand new mac pro with 64 bit architecture, and seem  to have only the two:&lt;/p&gt;&lt;p&gt;file /System/Library/Frameworks/Python.framework/Versions/2.3/Python&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/2.3/Python: Mach-O universal binary with 2 architectures&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/2.3/Python (for architecture i386):	Mach-O dynamically linked shared library i386&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/2.3/Python (for architecture ppc7400):	Mach-O dynamically linked shared library ppc&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew Griffin</dc:creator><pubDate>Sun, 07 Jun 2009 07:12:23 -0000</pubDate></item><item><title>Re: 64bit, multi-arch python web stack (i.e. FAT apache, mod_wsgi, python and mysql) on OS X 10.5 Leopard</title><link>http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/#comment-9105165</link><description>&lt;p&gt;I managed to compile python 2.5.4 as well using the instructions above!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">captnswing</dc:creator><pubDate>Thu, 07 May 2009 15:53:11 -0000</pubDate></item><item><title>Re: 64bit, multi-arch python web stack (i.e. FAT apache, mod_wsgi, python and mysql) on OS X 10.5 Leopard</title><link>http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/#comment-9100924</link><description>&lt;p&gt;Following the instructions successfully builds Python 2.6.2 and reports it includes the 64 bit executable. However, when starting python up from the command prompt, Activity Monitor reports the instance as Python-32 with kind "Intel".&lt;/p&gt;&lt;p&gt;Interestingly, if I start python.exe from the build folder, it reports it as python.exe Intel (64 bit).&lt;/p&gt;&lt;p&gt;Any ideas? I have followed the instructions closely and got the same result on two different computers (a Mac Book Pro running Mac OS X 10.5 and Mac Pro running Mac OS X 10.5 Server).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">repi</dc:creator><pubDate>Sun, 26 Apr 2009 20:31:10 -0000</pubDate></item><item><title>Re: 64bit, multi-arch python web stack (i.e. FAT apache, mod_wsgi, python and mysql) on OS X 10.5 Leopard</title><link>http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/#comment-9100922</link><description>&lt;p&gt;Sorry, you are wrong.&lt;br&gt;&lt;br&gt;Although /usr/bin/python on MacOS X 10.5 only provides 32 bit architectures, the Python framework (shared library) does include all architectures. Since both mod_python and mod_wsgi link only to the Python framework and do not use /usr/bin/python, they should work fine. Run:&lt;br&gt;&lt;br&gt;  file /System/Library/Frameworks/Python.framework/Versions/2.3/Python&lt;br&gt;&lt;br&gt;and you should see:&lt;br&gt;&lt;br&gt;$ file /System/Library/Frameworks/Python.framework/Versions/Current/Python&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/Current/Python:  &lt;br&gt;Mach-O universal binary with 4 architectures&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/Current/Python  &lt;br&gt;(for architecture ppc7400): Mach-O dynamically linked shared library ppc&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/Current/Python  &lt;br&gt;(for architecture ppc64):   Mach-O 64-bit dynamically linked shared  &lt;br&gt;library ppc64&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/Current/Python  &lt;br&gt;(for architecture i386):    Mach-O dynamically linked shared library  &lt;br&gt;i386&lt;br&gt;/System/Library/Frameworks/Python.framework/Versions/Current/Python  &lt;br&gt;(for architecture x86_64):  Mach-O 64-bit dynamically linked shared  &lt;br&gt;library x86_64&lt;br&gt;&lt;br&gt;Only caveat to this is that you need to use mod_python source code from its subversion repository, as 3.3.1 tar ball has not got required changes to build properly.&lt;br&gt;&lt;br&gt;There shouldn't be any problem at all with mod_wsgi if you are using standard Apache and Python from Apple. The development of mod_wsgi is actually done on MacOS X 10.5, so know it works fine.&lt;br&gt;&lt;br&gt;Various details related to mod_wsgi and MacOS X 10.5 can be found at:&lt;br&gt;&lt;br&gt;  &lt;a href="http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX" rel="nofollow noopener" target="_blank" title="http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX"&gt;http://code.google.com/p/modwsgi/wiki/Installat...&lt;/a&gt;&lt;br&gt;&lt;br&gt;So, the only thing you probably need to do anything special about is MySQL.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Graham Dumpleton</dc:creator><pubDate>Tue, 21 Apr 2009 20:35:05 -0000</pubDate></item><item><title>Re: 64bit, multi-arch python web stack (i.e. FAT apache, mod_wsgi, python and mysql) on OS X 10.5 Leopard</title><link>http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/#comment-9100921</link><description>&lt;p&gt;I went through the python &amp;amp; readline bit of this install process and after some wrangling got it to work.... but apparently python 2.6.2 doesn't compile numpy correctly, which was my whole reason for installing 64 bit python.  Is it specifically 2.6.2 that is 64 bit compileable on mac, or could 2.5 also do it?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Ginsburg</dc:creator><pubDate>Tue, 21 Apr 2009 20:08:40 -0000</pubDate></item></channel></rss>