Categorized: Django

Things you probably want to install to get the most out of Django

libjpeg (for PIL)

curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b/
./configure
make
sudo make install-lib

Python Image Library (PIL)

curl -O http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz
tar zxvf Imaging-1.1.6.tar.gz 
cd Imaging-1.1.6
sudo python setup.py install

Python Markdown library

curl -O http://pypi.python.org/packages/source/M/Markdown/markdown-1.7.tar.gz
tar zxvf markdown-1.7.tar.gz
cd markdown-1.7
sudo python setup.py install

See also.

Docutils

This makes Django’s built-in admin documentation work.

curl -O http://docutils.sourceforge.net/docutils-snapshot.tgz
tar zxvf docutils-snapshot.tgz
cd docutils
sudo python setup.py install

Sources

Comments

Dave Everitt → November 16th, 2009 at 6:14 am

Okay, I like your blog, so humour me by explaining how you use libjpeg and Python Image Library, please? I already get Docutils and Markdown (although I prefer Textile :-)

Trey → November 16th, 2009 at 9:19 am

Glad you like the blog!

If you want to do anything with images like this, for example, you need to have PIL (and therefor libjpeg) installed.

Dave Everitt → November 16th, 2009 at 10:19 am

Why, thank you sir. Understood. Now I just have to decide whether to go down that route (kind of) or not for the small sites I have.

What do you think about that?

Elsewhere in the empire: Home, Blog, APOD