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.
Imported modules
|
|
import os
import sys
|
Functions
|
|
check_install
check_mxTextTools
|
|
check_install
|
check_install (
name,
check_library,
location,
other_messages=None,
)
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:
check_library -- a function to check whether or not the specified
program and version is present, returns 1 if it is, 0 otherwise.
name -- the name of the library we are looking for
location -- a URL where the library can be downloaded
other_messages -- other random messages to print if the library
is not present (ie. version information, etc...)
|
|
check_mxTextTools
|
check_mxTextTools ()
|
Classes
|
|
my_install |
Override the standard install to check for dependencies.
|
run_install_tests |
Run all of the tests for the package using installed files
|
run_local_tests |
Run all of the tests for the package using uninstalled (local) files
|
|
|