avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1141619 - in /avro/trunk: CHANGES.txt lang/py/setup.py
Date Thu, 30 Jun 2011 16:56:26 GMT
Author: philz
Date: Thu Jun 30 16:56:26 2011
New Revision: 1141619

URL: http://svn.apache.org/viewvc?rev=1141619&view=rev
Log:
AVRO-845. setup.py uses Python2.7+ specific code
(Miki Tebeka via philz)


Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/py/setup.py

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1141619&r1=1141618&r2=1141619&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Thu Jun 30 16:56:26 2011
@@ -18,7 +18,10 @@ Avro 1.6.0 (unreleased)
     (Nick Palmer via cutting)
 
   BUG FIXES
-    
+
+    AVRO-845. setup.py uses Python2.7+ specific code
+    (Miki Tebeka via philz)
+
     AVRO-824. Java: Fix usage message of BinaryFragmentToJsonTool.
     (Jakob Homan via cutting)
 

Modified: avro/trunk/lang/py/setup.py
URL: http://svn.apache.org/viewvc/avro/trunk/lang/py/setup.py?rev=1141619&r1=1141618&r2=1141619&view=diff
==============================================================================
--- avro/trunk/lang/py/setup.py (original)
+++ avro/trunk/lang/py/setup.py Thu Jun 30 16:56:26 2011
@@ -21,7 +21,7 @@ except ImportError:
   from distutils.core import setup
 
 from sys import version_info
-if (version_info.major, version_info.minor) > (2, 5):
+if version_info[:2] > (2, 5):
     install_requires = []
 else:
     install_requires = ['simplejson >= 2.0.9']



Mime
View raw message