PyTioga

Publication Quality Figures with Python, PDF, & TeX

[ home | demo | installation | documentation | communication | sourceforge ]

Requirements

In addition, the Python extension written in C is compiled (automatically) upon installation, so a C compiler (such as GCC) is necessary.

Some still experimental features require SciPy 0.5.2.1 or later.

Installation

The alpha version can be downloaded using the svn repository at sourceforge.net. To check out the current version in your current working directory, use the following command:

  $ svn co https://pytioga.svn.sourceforge.net/svnroot/pytioga/pytioga/trunk pytioga

This will create a directory named pytioga. Move to that directory, and follow the standard distutils method of installing a package:

  $ cd pytioga
  $ sudo python setup.py install

If you do not have a superuser privilege, you may also install locally by specifying the installation directory (e.g., /home/johndoe/lib) explicitly:

  $ python setup.py --install-lib=/home/johndoe/lib install

In this case, the directory /home/johndoe/lib must be added to the PYTHONPATH environment variable, so that the Python interpreter can find the package.

To test if the installation is successful, try importing PyTioga on the Python interactive shell:

  $ python
  Python 2.4.4 (#2, Apr  5 2007, 20:11:18)
  [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import pytioga
  >>>

If no ImportError occurs, the installation was successful.