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" && \
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 && \
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
&& \
21 python setup.py
install && \
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
&&\
27 .
/configure
--prefix=/usr
&&\
31 echo "Building SQLite python module: apsw" && \
32 svn co http
://apsw.googlecode.com
/svn
/apsw
/trunk apsw
&&\
34 python setup.py
install
37 echo "You must install the python 'setuptools' package. I can't do this automatically."