[PyObjC-svn] r2552 - trunk/pyobjc/pyobjc

[email protected] Thu, 29 Jul 2010 10:52:09 -0500
Newsgroups gmane.comp.python.pyobjc.cvs
Message-ID <[email protected]>
Author: ronaldoussoren
Date: Thu Jul 29 10:52:09 2010
New Revision: 2552

Log:
Small py3k problem


Modified:
   trunk/pyobjc/pyobjc/setup.py

Modified: trunk/pyobjc/pyobjc/setup.py
==============================================================================
--- trunk/pyobjc/pyobjc/setup.py	(original)
+++ trunk/pyobjc/pyobjc/setup.py	Thu Jul 29 10:52:09 2010
@@ -11,7 +11,7 @@
 
 import os
 
-VERSION="2.3b1"
+VERSION="2.3"
 
 # NOTE: This list of requirements is split into sections for 10.4
 # and 10.5 to make it possible to install PyObjC from source on all
@@ -60,7 +60,7 @@
 ]
 
 import platform
-rel = map(int, platform.mac_ver()[0].split('.')[:2])
+rel = tuple(map(int, platform.mac_ver()[0].split('.')[:2]))
 if rel >= (10, 5):
     REQUIRES.extend(REQUIRES_10_5)
 if rel >= (10, 6):

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm