[Biopython-dev] [Bug 2890] New: Getting setup.py to work in Jython

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Jul 31 17:20:28 UTC 2009


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

           Summary: Getting setup.py to work in Jython
           Product: Biopython
           Version: 1.51b
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: kellrott at ucsd.edu


Currently setup.py fails in Jython because it that implementation of Python
does not support building C extensions.  
This can be avoided by adding the code:

if os.name == 'java':
    EXTENSIONS = []
else:
    EXTENSIONS = [ 
...continue with regular extension definition


This will not introduce bugs into main BioPython target platforms (CPython),
and will allow for development on new platforms (Jython).  Tested with Jython
2.5.0.


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