You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@avro.apache.org by Jeremy Lewi <je...@lewi.us> on 2011/06/25 18:42:29 UTC
Bug in lang/py/build/setup.py revision 1139542 ?
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
Re: Bug in lang/py/build/setup.py revision 1139542 ?
Posted by Miki Tebeka <mi...@gmail.com>.
Sorry, my bad. I've uploaded a patch at
https://issues.apache.org/jira/browse/AVRO-845, my *guess* it'll be
merged soon.
On Sat, Jun 25, 2011 at 9:42 AM, Jeremy Lewi <je...@lewi.us> wrote:
> 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
>
>
>