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
Kommentare
Momentan gibt es keine Kommentare
Neuer Kommentar