[Biopython-dev] Modules to be removed from Biopython

Peter biopython at maubp.freeserve.co.uk
Tue Sep 23 09:02:17 UTC 2008


On Tue, Sep 23, 2008 at 1:55 AM, Michiel de Hoon <mjldehoon at yahoo.com> wrote:
> The code in setup.py that causes the DeprecationWarning to
> appear can be fixed relatively easily. Basically, this code was
> relevant when Martel was also being distributed as a separate
> module. Nowadays, Biopython contains the latest version of
> Martel, so there's no reason to check it. The other function of the
> code in setup.py was to check if importing Martel raises any
> import errors, in particular for mxTextTools. That we can check
> by trying to import the dependencies directly, i.e. without going
> through Martel. After fixing the code in setup.py, we can add a
> DeprecationWarning to Bio.Martel.

That sounds positive.  I was thinking we might want to edit setup.py
so that it doesn't complain loudly if mxTextTools is missing - given
this will now only be needed for deprecated modules.  Do you have any
view on this?

Peter



More information about the Biopython-dev mailing list