[Biopython-dev] [Bug 2733] Unit tests incorrectly assume that Biopthyon was built from source

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Jan 15 14:44:15 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2733





------- Comment #1 from bsouthey at gmail.com  2009-01-15 09:44 EST -------
Created an attachment (id=1197)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=1197&action=view)
Patch to avoid adding source path if Biopython is not built from source

This is a simple path to that just moves the inclusion of the source path to
being conditional on the presence of the build directory. That is, if a build
directory exists, then we assume that Biopython was built from the source. But
if the build directory does not exist then the source path is not added and the
test environment will use the installed Biopython and not the source directory. 

This patch works on a Linux system with the build directory removed and a
Windows XP system using the binary Biopython installer.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list