[BioPython] Biopython package for Fedora

Chris Lasher chris.lasher at gmail.com
Wed Apr 11 04:43:14 UTC 2007


On 4/8/07, Alex Lancaster <alexl at users.sourceforge.net> wrote:
> 4) If possible, Fedora packages should run all unit tests provided in
>    the upstream package at package time, just before creating the RPM.
>    I would like to do this for biopython as well, but there doesn't
>    seem to be an easy way to disable the PyUnit GUI that pops up and
>    run in batch-only non-GUI mode.  I looked at the code in
>    Tests/run_tests.py and it does have a "--no-gui" option, but there
>    does not appear to be any way to run this from the top-level
>    setup.py file, e.g.:
>
>    python setup.py test --no-gui
>
>    doesn't work.

Alex, thanks for pointing this out. I sat down tonight and resolved this issue.

<http://bugzilla.open-bio.org/show_bug.cgi?id=2266>

The patch on there should be the fix needed. Save it as
setup_test.patch (or whatever, but that's convenient), place it in the
same directory as setup.py, and patch with the command

patch -p0 < setup_test.patch

Alternatively, I can send you the patched files (setup.py and
Tests/run_tests.py).

Thanks again for pointing this out.

Chris



More information about the Biopython mailing list