[Biopython-dev] [Bug 1631] setup.py does not run
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Tue May 4 10:26:35 EDT 2004
http://bugzilla.bioperl.org/show_bug.cgi?id=1631
------- Additional Comments From mcolosimo at mitre.org 2004-05-04 10:26 -------
Diff of setup.py below. Changing the two files to .cpp seems to work (gcc does the correct thing)
First,
Extension('Bio.KDTree._CKDTree',
["Bio/KDTree/KDTree.cpp",
"Bio/KDTree/KDTree.swig.cpp"],
libraries=["stdc++"]
)
has to be moved since this requires Numeric.
I do not have Numeric so maybe some one could try these changes.
Index: setup.py
===============================================================
====
RCS file: /home/repository/biopython/biopython/setup.py,v
retrieving revision 1.86
diff -r1.86 setup.py
154a155,161
> self.extensions.append(
> Extension('Bio.KDTree._CKDTree',
> ["Bio/KDTree/KDTree.cpp",
> "Bio/KDTree/KDTree.swig.cpp"],
> libraries=["stdc++"]
> )
> )
163,166c170,173
< if ext.language == "c++":
< self.compiler.compiler_so = self.compiler.compiler_cxx
< else:
< self.compiler.compiler_so = self._original_compiler_so
---
> #if ext.language == "c++":
> # self.compiler.compiler_so = self.compiler.compiler_cxx
> #else:
> # self.compiler.compiler_so = self._original_compiler_so
388,393c395
< Extension('Bio.KDTree._CKDTree',
< ["Bio/KDTree/KDTree.C",
< "Bio/KDTree/KDTree.swig.C"],
< libraries=["stdc++"],
< language="c++"
< ),
---
>
------- 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