Prerequistites
--------------
1. Python >= 1.5.2
Available at .
2. Numeric Python
Available at . Be careful which version
you install; newer versions tend to support only the most recent
Python release.
3. GNU plotutils package
Available at . After installing,
you need to make sure biggles can find libplot.so. On most systems adding
$(prefix)/lib to LD_LIBRARY_PATH will work, where $(prefix) is the
directory plotutils was installed in (usually /usr/local).
Distutils Installation
----------------------
If you're running Python 2.0 or greater, or have Distutils installed, you can
install biggles using the setup.py file. Try:
% cd python-biggles-x.y.z/
% python2 setup.py build
% python2 setup.py install
See the distutils documentation for more information.
If the libplot library is not installed under /usr/local, and you installed
it from source, edit the "libplot_prefix" line in setup.py to point to the
right directory.
Makefile Installation
---------------------
If you don't want to install using Distutils, you can use the Makefile
provided. On most systems running:
% cd python-biggles-x.y.z/
% gmake
% gmake install
will work. The PYTHON variable in make.inc should be set to the command
you use to start the python interpreter (defaults to "python"). The directory
the Makefile chooses to install the module is based on information from the
python sys module, which you can override by changing PYSITEPKGS.
If the libplot library is not installed under /usr/local, and you installed
it from source, edit the "LIBPLOT_PREFIX" line in make.inc to point to the
right directory.
If you get an error message like
Numeric/arrayobject.h: No such file or directory
and the Numeric module is installed, try uncommenting the
NUMERIC_CPPFLAGS = -DNO_NUMERIC_INCDIR
line in make.inc.