So I've installed it the way you detail below before, and more
recently the way I'll mention...
You can install via macports (assuming you have Macports & XCode Tools
installed already), with no restart needed:
$ sudo port install postgresql83 postgresql83-server
Then follow the couple steps that follow to add a login item if you
want, and also add '/opt/local/lib/postgresql82/bin' to your path. In
more user-friendly steps:
http://shifteleven.com/articles/2008/03/21/installing-postgresql-on-leopard-using-macports
(ignore the Ruby stuff). I used the +python variant of postgresql83,
but I'm not sure if you actually need it.
If you add Postgres to your path, then you don't need to edit the
setup.cfg file before running setup.py. I happen to already live in
Terminal and am set to use macports, so these steps were easier for
me - just my 2 cents.
Thanks Can for putting these up. We'll be making them a part of the
official setup directions :)
--Paul
On Apr 25, 11:36 am, Can duruk <
candu...@gmail.com> wrote:
> Hey,
>
> I just wanted to quickly document the installation steps that I needed
> to do for installing Courant News on Mac OS X 10.5.6 (Leopard)
>
> Based onhttp://
jasonism.org/weblog/2008/nov/06/getting-psycopg2-work-mac-os-x...
>
> * Download PostgreSQL and Install fromhttp://
www.postgresql.org/download/macosx
> ** Do not change any of the default settings.
> ** You'll have to restart after this step
>
> * Now you need to install psycopg2
> ** Go tohttp://
www.initd.org/pub/software/psycopg/
> ** Download the latest version of psycopg2 (at the time of writing, it
> was 2.10). It's the file ends with tar.gz
> ** Unarchive the file into a folder (This might helphttp://
wakaba.c3.cx/s/apps/unarchiver.html)