-í
¿Å<c       s‹    d  Z    d k Z d k Z  y4  d k l Z  d k l Z  d k l Z Wn>  e j
 o/  d GH d GH d GH  e i	 d ƒ n X% e
 d	 „ Z A d
 „  Z N d e f d „  ƒ  YZ \ d e f d „  ƒ  YZ { d e f d „  ƒ  YZ  e d d ‘ d d ’ d d “ d d • d d – d d — d d ™ d h  e d  <e d! <e d" < d# h  d$ d <ž d% d g ƒ 
d S(&   s  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.
N(   s   setup(   s   install(   s   CommandsA   Martel installation requires distutils, available with python 2.0s   or better, or from:s4     http://python.org/sigs/distutils-sig/download.htmli    c    sV   % 6 7 | ƒ  o> 8 d |  GH9 d GH: | GH; d GH< | o = | GHn n d S(   sY  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...)
    s    
WARNING -- %s is not installed.s   You should install this from:s+   because otherwise Martel will not be usefulN(   s   check_librarys   names   locations   other_messages(   s   names   check_librarys   locations   other_messages(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   check_install% s   
c     s~   A B y C d k  l }  D d SWn E t j
 o
 F n XG y H d  k }  I d SWn J t j
 o
 K n XL d Sd  S(   N(   s	   TextToolsi   i    (   s   mxs	   TextToolss   ImportError(   s	   TextTools(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   check_mxTextToolsA s   s
   my_installc      s    N t  Z d  Z S T d „  Z RS(   s¦   Override the standard install to check for dependencies.

    This will just run the normal install, and then print warning messages
    if packages are missing.
    c    s-   T V t  i |  ƒ Y t d t Z d ƒ d  S(   Ns   mxTextToolss5   http://www.lemburg.com/files/python/mxExtensions.html(   s   installs   runs   selfs   check_installs   check_mxTextTools(   s   self(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   runT s   (   s   __name__s
   __module__s   __doc__s   run(    (    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys
   my_installN s   s   run_local_testsc      sJ   \ t  Z d  Z d e d Z g g  Z i d „  Z l d „  Z o d „  Z RS(   sÏ   Run all of the tests for the package using uninstalled (local) files

    This is a automatic test run class to make distutils kind of act like
    perl. With this you can do:

    python setup.py test

    s1   Automatically run the test suite for the package.c    s
   i j d  S(   N(    (   s   self(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   initialize_optionsi s   c    s
   l m d  S(   N(    (   s   self(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   finalize_optionsl s   c    sR   o p t  i ƒ  } s t  i d ƒ t d  k } u | i g  ƒ x t  i | ƒ d  S(   Ns   test(   s   oss   getcwds   this_dirs   chdirs	   run_testss   local_test_main(   s   selfs   this_dirs	   run_tests(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   runo s
   (   s   __name__s
   __module__s   __doc__s   descriptions   user_optionss   initialize_optionss   finalize_optionss   run(    (    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   run_local_tests\ s   		s   run_install_testsc      s    { t  Z d  Z „ … d „  Z RS(   sì   Run all of the tests for the package using installed files

    This is a automatic test run class to make distutils kind of act like
    perl. With this you can do:

    python setup.py install
    python setup.py installtest
    
    c    sR   … † t  i ƒ  } ‰ t  i d ƒ Š d  k } ‹ | i g  ƒ Ž t  i | ƒ d  S(   Ns   test(   s   oss   getcwds   this_dirs   chdirs	   run_testss   install_test_main(   s   selfs   this_dirs	   run_tests(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   run… s
   (   s   __name__s
   __module__s   __doc__s   run(    (    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   run_install_tests{ s   	s   names   Martels   versions   0.8s   descriptions-   Parse flat-file formats as if they are in XMLs   authorsF   Dalke Scientific Software, LLC; member of the The Biopython Consortiums   author_emails   dalke@dalkescientific.coms   urls%   http://www.dalkescientific.com/Martels   licenses   Biopython licenses   cmdclasss   installs   tests   installtests   package_dirs    s   packages(   s   __doc__s   syss   oss   distutils.cores   setups   distutils.command.installs   installs   Commands   ImportErrors   exits   Nones   check_installs   check_mxTextToolss
   my_installs   run_local_testss   run_install_tests(
   s   check_mxTextToolss   setups   check_installs   syss   Commands   installs
   my_installs   run_install_testss   oss   run_local_tests(    (    s6   /mit/seven/lib/python2.2/site-packages/Martel/setup.pys   ? s2   						$