Package Martel :: Module setup
[hide private]
[frames] | no frames]

Module setup

source code

Distutils based setup script for Martel.

This uses Distutils (http://python.org/sigs/distutils-sig/) the
standard python mechanism for installing packages. For the easiest
installation just type the command:

  python setup.py install

For more details about the options available from distutils, look at
the 'Installing Python Modules' distutils documentation, available
from:

  http://python.org/sigs/distutils-sig/doc/

Or, if all else fails, feel free to write to the biopython list
at biopython@biopython.org and ask for help.

Classes [hide private]
  my_install
Override the standard install to check for dependencies.
  run_local_tests
Run all of the tests for the package using uninstalled (local) files
  run_install_tests
Run all of the tests for the package using installed files
Functions [hide private]
 
check_install(name, check_library, location, other_messages=None)
Check if a program is installed and print a warning message if not.
source code
 
check_mxTextTools() source code
Function Details [hide private]

check_install(name, check_library, location, other_messages=None)

source code 

Check if a program is installed and print a warning message if not.

This helps users at least know they are missing some installed stuff and where to get it when they install Martel.

Arguments:

o check_library -- a function to check whether or not the specified program and version is present, returns 1 if it is, 0 otherwise.

o name -- the name of the library we are looking for

o location -- a URL where the library can be downloaded

o other_messages -- other random messages to print if the library is not present (ie. version information, etc...)