[Biopython-dev] setup.py bug

Marc Colosimo mcolosimo at mitre.org
Mon May 3 12:04:24 EDT 2004

There is a bug in setup.py. I don't know how people got it to work, but 
on my system I get this  (python 2.2.2, Linux):

  python setup.py build
Traceback (most recent call last):
   File "setup.py", line 392, in ?
TypeError: __init__() got an unexpected keyword argument 'language'

Removing this from:


I get the second error at:

   File "setup.py", line 163, in build_extension
     if ext.language == "c++":
AttributeError: Extension instance has no attribute 'language'

If these files are c++, then they should be named correctly (many 
choices, none with C).


More information about the Biopython-dev mailing list