diff --git a/docs/readme.htm b/docs/readme.htm index b05b0119..ab5c857f 100644 --- a/docs/readme.htm +++ b/docs/readme.htm @@ -145,48 +145,36 @@ Version 1.10 python-imaging (PIL) packages are preinstalled on many Debian distributions so the corresponding commands may not do anything.

Installation on SuSE using yast

-

My SuSE 11.1 system came with some of the prerequisites installed, some available - through yast, and three that required - easy_install. To start, you will have to install the - gcc compiler:

-

sudo yast -i gcc

-

Then install easy_install:

-

sudo yast -i python-setuptools

-

On my system, some scripts wanted to install themselves into - /usr/local/lib/python2.6/site-packages, which didn't - exist. If this is the case, you may have to create these directories before +

My SuSE 11.3 system came with some of the prerequisites installed, some available + through yast, and some that required + easy_install.

+

To start, some packages want to install themselves into + /usr/local/lib/python2.6/site-packages, which may + or may not exist. If it does not, you may have to create it before running easy_install:

-

sudo mkdir /usr/local/lib/python2.6

-

sudo mkdir /usr/local/lib/python2.6/site-packages

-

sqlite3

-

My SuSE 11.1 system came with V3.6.4, which works just fine. However, if +

sudo mkdir /usr/local/lib/python2.6
+
sudo mkdir /usr/local/lib/python2.6/site-packages
+

Install the + gcc compiler:

+
sudo yast -i gcc
+

Then install easy_install:

+
sudo yast -i python-setuptools
+

Install configobj:

+
sudo yast -i python-configobj
+

Install PIL:

+
sudo yast -i python-imaging
+

Install pyserial:

+
sudo yast -i python-serial
+

Install sqlite3. My SuSE 11.3 system came with V3.6.4, which works just fine. However, if you need to install:

sudo yast -i sqlite3

-

pysqlite

-

Install using easy_install. See - comments below about installing pysqlite - using easy_install. On my SuSE 11.1 system, I had - to install the gcc compiler and the sqlite3 development environment first:

-

sudo yast -i gcc

-

sudo yast -i sqlite-devel

-

Then I was able to install pysqlite using easy_install. - However, because the hosting site for pysqlite had changed recently, I had to - give the URL explicitly:

-

sudo easy_install - http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz

-

configobj

-

Install using easy_install:

-

sudo easy_install configobj

-

pyserial

-

Install using yast:

-

sudo yast-i python-serial

-

Cheetah

-

Install using easy_install (My system emitted a - bunch of, apparently, benign warnings):

-

sudo easy_install Cheetah

-

Python Imaging Library (PIL)

-

Install using yast

-

sudo yast -i python-imaging

+

Install the Python development package (need for + pysqlite):

+
sudo yast -i python-devel
+

Install pysqlite:

+
easy_install pysqlite
+

Install Cheetah:

+
easy_install Cheetah

Installation using easy_install

An alternative approach to installing the required packages is by using the Python setup tool "easy_install", part of the @@ -194,11 +182,9 @@ Version 1.10 Refer to their instructions on how to install this tool.

Once easy_install has been installed, installing the rest of the packages is very easy.

-

sqlite3

My Ubuntu 8.10 system came with sqlite V3.5.9, which works just fine. If you do not have sqlite3, refer to the sqlite webpage for installation instructions.

-

pysqlite

While Version 2.3.X of pysqlite is included with many versions of Python, the more recent 2.5.X or greater is required in order to take advantage of transaction contexts. Hence, you may @@ -208,26 +194,26 @@ Version 1.10 to install the sqlite3 development environment as well.

With the development environment in place, you can easily build and install pysqlite:

-

easy_install pysqlite

+
easy_install pysqlite

If your system already has a version of pysqlite installed, but it is not a high enough version (easy_install will tell you the version you have), then you may have to force an upgrade:

-

easy_install --upgrade pysqlite

+
easy_install --upgrade pysqlite

Note that at the time of this writing (24 Oct 2009), the hosting site for pysqlite has changed to one on googlecode, and easy_install could not find it. You may have to find and give the URL explicitly to easy_install (adjust version numbers as necessary):

-

easy_install http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz

-

configobj

-

Easily installed:

-

easy_install configobj

-

pyserial

-

easy_install pyserial

-

Cheetah

-

easy_install Cheetah

-

Python Imaging Library (PIL)

-

My version of Python came with V1.1.6, which works great.

+
easy_install http://pysqlite.googlecode.com/files/pysqlite-2.5.5.tar.gz
+

The other packages are straightforward. Install configobj:

+
easy_install configobj
+

Install pyserial:

+
easy_install pyserial
+

Install Cheetah:

+
easy_install Cheetah
+

My version of Python came with V1.1.6, which works great, but if you need + to install

+
easy_install pil

System requirements

I run weewx on a 500MHz system with an AMD Geode processor and 512 MB of memory.  Configured this way, it consumes about