I have not had any problem compiling psycopg2 or Postgresql for Mac OSX ( for what it is worth)
Jerry
···
On Jan 11, 2008, at 2:52 PM, Stephen Hansen wrote:
I'm trying to port my wxPython GIS application to the Mac. It currently
runs on Linux and Windows fine. The wxPython part works fine on the Mac
too, but I need to get a Mac version of PostgreSQL and psycopg2 for the
back end. I noticed that MacPorts has all the pieces, including Python
and wxPython, but am unsure if this is the best route to follow since
the Mac releases on the wxPython home page recommend MacPython. Any advice?For others using postgres, in my searches I also found these two sites
of interest:It kind of depends on your target audience, and how much you want the app to work and act like a first class citizen of the Mac world. MacPorts is cool.. for power users and '*nix people, but it doesn't-- to my understanding-- integrate with Mac /users/ very well. Its best to use framework builds, I believe, to make them work well as good citizens of the mac-world. MacPorts stuff act more unixy. This, though, may be entirely wrong
I haven't used macports stuff much!
You can install wxPython from a .pkg available from wxPython's website... psycopg2 from http://pythonmac.org/packages/py25-fat/mpkg/psycopg2-2.0.5.1-py2.5-macosx10.4.zip ... and PostgreSQL there's some pre-built packages at http://www.entropy.ch/software/macosx/postgresql/ and perhaps details at เว็บพนัน ฝากถอนไม่มีขั้นต่ำ เว็บที่ปลอดภัยและน่าเชื่อถือที่สุด
I haven't evaluated those.
And note, as long as they're all packages, you can easily work up a metapackage and bundle all three in one. (If you need to: wxPython does come with the mac)
--Stephen