Django Installation mit Mac OS X Tiger

(0 comments)

Installation von Django und den dazugehörigen Abhängigkeiten:

Download ActiveState Python

Download django

from http://www.djangoproject.com/download/0.91/tarball/
tar -xvzf Django-version.tar.gz
cd Django-version
sudo python setup.py install
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/django-admin.py /usr/local/bin

Install PostgreSQL

from:
http://www.entropy.ch/software/macosx/postgresql/

Download mxTime

and Install from
http://www.egenix.com/files/python/eGenix-mx-Extensions.html
http://www.egenix.com/files/python/egenix-mx-base-2.0.6.tar.gz

tar -xvzf egenix-mx-base-2.0.6.tar.gz
cd egenix-mx-base-2.0.6
sudo python setup.py install

Install psycopg1 (Python PostgreSQL binding)

Download http://initd.org/pub/software/psycopg/psycopg-1.1.21.tar.gz

tar -xvzf psycopg-1.1.21.tar.gz
cd psycopg-1.1.21
export MACOSX_DEPLOYMENT_TARGET=10.4
export CPPFLAGS="-I/opt/python/lib/python2.4/site-packages/mx/DateTime/mxDateTime"
./configure --with-postgres-libraries=/usr/local/pgsql/lib --with-postgres-includes=/usr/local/pgsql/
make
sudo make install

Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required

Recent Posts

Categories

Authors

Archive

2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005

Feeds

RSS / Atom