[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pyamf-commits
Subject:    [pyamf-commits] r2934 - pyamf/branches/py3k-compat
From:       SVN commit logs for PyAMF <commits () pyamf ! org>
Date:       2009-10-22 19:50:40
Message-ID: 20091022195040.8CDF77BC014 () mail ! collab ! com
[Download RAW message or body]

Author: thijs
Date: 2009-10-22 21:50:40 +0200 (Thu, 22 Oct 2009)
New Revision: 2934

Modified:
   pyamf/branches/py3k-compat/
   pyamf/branches/py3k-compat/setup.py
Log:
Apply py3k.patch (#699)



Property changes on: pyamf/branches/py3k-compat
___________________________________________________________________
Modified: svn:ignore
   - *.pyc
*.egg-info
*.class
_trial_temp
build
dist

   + *.pyc
*.egg-info
*.pth
*.class
_trial_temp
build
dist


Modified: pyamf/branches/py3k-compat/setup.py
===================================================================
--- pyamf/branches/py3k-compat/setup.py	2009-10-22 19:49:40 UTC (rev 2933)
+++ pyamf/branches/py3k-compat/setup.py	2009-10-22 19:50:40 UTC (rev 2934)
@@ -1,7 +1,7 @@
 # Copyright (c) 2007-2009 The PyAMF Project.
 # See LICENSE.txt for details.
 
-from ez_setup import use_setuptools
+from distribute_setup import use_setuptools
 
 use_setuptools()
 
@@ -80,12 +80,12 @@
         return []
 
     if sys.platform.startswith('java'):
-        print 80 * '*'
-        print 'WARNING:'
-        print '\tAn optional code optimization (C extension) could not be compiled.\n\n'
-        print '\tOptimizations for this package will not be available!\n\n'
-        print 'Compiling extensions is not supported on Jython'
-        print 80 * '*'
+        print(80 * '*')
+        print('WARNING:')
+        print('\tAn optional code optimization (C extension) could not be compiled.\n\n')
+        print('\tOptimizations for this package will not be available!\n\n')
+        print('Compiling extensions is not supported on Jython')
+        print(80 * '*')
         return []
 
     ext_modules = []

_______________________________________________
PyAMF commits mailing list - commits@pyamf.org
http://lists.pyamf.org/mailman/listinfo/commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic