[BioPython] biopython + python 2.4?

Michael George Lerner mlerner at umich.edu
Fri Feb 18 17:51:38 EST 2005


hi,

i just downloaded the source tarball from
http://biopython.org/download/
and noticed that it doesn't compile under python 2.4.  the only problem i 
saw was that i needed to change

     if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value)))
 	goto _write_value_to_handle_cleanup;

to

#ifdef Py_MARSHAL_VERSION
     if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value,Py_MARSHAL_VERSION)))
 	goto _write_value_to_handle_cleanup;
#else
     if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value)))
 	goto _write_value_to_handle_cleanup;
#endif

in triemodule.c

i assume that's well known, because i saw an windows installer for 2.4 on 
the website.  i just have two quick questions:

  - is that *all* i need to change for 2.4?  most everything seemed to 
work, but i wanted to double-check.  i googled around a bit, but didn't 
find any answers .. i'm sorry if this is all written up somewhere that i 
should've seen. 
(one test was skipped because i don't have MySQLdb, two tests were skipped 
because some command named "dnal" wasn't found, and test_Registry failed 
saying 'Retrieval of PDB data from various locations. ... ERROR\n')

  - are there any plans to put a 2.4-ready source tarball on the download 
page?

thanks,

-michael

--
This isn't a democracy;|                        _  |Michael Lerner
  it's a cheer-ocracy.  | ASCII ribbon campaign ( ) |   Michigan
-Torrence,  Bring It On|  - against HTML email  X  |  Biophysics
                        |                       / \ | mlerner at umich


More information about the BioPython mailing list