removed whitespace
[limo.git] / INSTALL.debian.sh
blob5488c404c16760689d0359ce1e48ddbcbcc37926
1 #!/bin/sh
3 if [ -f `which easy_install` ]; then
4 echo "Installing lighttpd, and mysql..." && \
5 apt-get install lighttpd mysql-server-5.0 libmysqlclient-dev && \
6 echo "Installing BeautifulSoup" && \
7 easy_install BeautifulSoup && \
8 echo "Beginning source builds" && \
9 mkdir build && \
10 cd build && \
11 echo "Building MySQL-python" && \
12 wget -nc http://downloads.sourceforge.net/mysql-python/MySQL-python-1.2.2.tar.gz && \
13 tar xzvf MySQL-python-1.2.2.tar.gz && \
14 cd MySQL-python-1.2.2 && \
15 python setup.py install && \
16 cd .. && \
17 echo "Building Imaging" && \
18 wget -nc http://effbot.org/downloads/Imaging-1.1.6.tar.gz && \
19 tar xzvf Imaging-1.1.6.tar.gz && \
20 cd Imaging-1.1.6 && \
21 python setup.py install && \
22 cd .. && \
23 echo "Building SQLite library" && \
24 wget -nc http://www.sqlite.org/sqlite-amalgamation-3.6.3.tar.gz &&\
25 tar xzvf sqlite-amalgamation-3.6.3.tar.gz &&\
26 cd sqlite-3.6.3 &&\
27 ./configure --prefix=/usr &&\
28 make &&\
29 make install &&\
30 cd .. && \
31 echo "Building SQLite python module: apsw" && \
32 svn co http://apsw.googlecode.com/svn/apsw/trunk apsw &&\
33 cd apsw && \
34 python setup.py install
36 else
37 echo "You must install the python 'setuptools' package. I can't do this automatically."
38 exit 1