[Biopython-dev] [Bug 1631] setup.py does not run

Brad Chapman chapmanb at uga.edu
Tue May 4 07:01:43 EDT 2004

Hey all;

[C++ problems again]

Okay, I think I've got this all figured out and just checked a
change into setup.py which hopefully deals with all the problems.
Let me summarize:

1. Changing .C to .cpp won't fix the problems (as Michael noted),
but there is nothing wrong with that. Thomas -- can you please make
sure you checked in the new .cpp files (The old .C are gone, but the
new ones aren't there -- you might need to do a cvs add).

2. The problem that Marc is noting is that the changes we used to
fix the ugly C++ problem in distutils don't stretch back to 2.2.
I've added onto these changes and made them even uglier -- but they
appear to work now for both 2.2 and 2.3 (once Thomas checks in the
new .cpp code). Please check these out and make sure they work for
everyone on all platforms.

3. KDTree requires Numeric and should only be installed when Numeric
is present. I've fixed this.

Okay, I think this is all the problems. Could people please check
out the setup.py and test? We'll get this sorted out today -- sorry
about all the problems but it is a very complicated issue with the
way that distutils seems to poorly handle C++ code. Hopefully these
changes fix everything.

Thanks for everyone's work on this!

More information about the Biopython-dev mailing list