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

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue May 4 09:25:40 EDT 2004


           Summary: setup.py does not run
           Product: Biopython
           Version: Not Applicable
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: mcolosimo at mitre.org

setup.py uses fetures of distutils not found in python 2.2 (details below). Therefore, biopython now 
requires python 2.3 or a newer version of distutils.

An easy solution is to change the .C files to correct extention endings (.cpp or .c++ or .cc)

 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).

------- 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