How to install swan?
This section covers only POSIX systems so far.
The swan package depends on Glade, pyGTK with glade support, as well as on Matplotlib/pylab and on NumPy.
On my system (Ubuntu GNU/Linux), you can install all this stuff with the following command:
sudo apt-get install python-gtk2 python-glade2 python-numpy python-matplotlib
Now, with the dependencies resolved, download the latest release from the PyPI repository. Unpack the tarball where you usually do so:
tar zxf swan-x.x.x.tar.gz cd swan-x.x.x
Run the distutils setup script:
sudo python setup.py install
If there were no error messages, swan should be installed now.