avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Lewi <jer...@lewi.us>
Subject Bug in lang/py/build/setup.py revision 1139542 ?
Date Sat, 25 Jun 2011 16:42:29 GMT
Hi,

I think the current version of setup.py is assuming you are using python
2.7 or later.

Line 24 is
if (version_info.major, version_info.minor) > (2, 5):

but named attributes for version_info were only added in  python 2.7
(http://docs.python.org/library/sys.html).

A simple fix is

if (version_info[0], version_info[1]) > (2, 5):

J



Mime
View raw message