[Checkins] SVN: van.potomo/trunk/ Support Python 3

Brian Sutherland cvs-admin at zope.org
Thu Aug 15 10:00:27 CEST 2013


Log message for revision 130291:
  Support Python 3

Changed:
  U   van.potomo/trunk/CHANGES.txt
  U   van.potomo/trunk/setup.py
  U   van.potomo/trunk/van/potomo/__init__.py

-=-
Modified: van.potomo/trunk/CHANGES.txt
===================================================================
--- van.potomo/trunk/CHANGES.txt	2013-08-01 18:34:11 UTC (rev 130290)
+++ van.potomo/trunk/CHANGES.txt	2013-08-15 08:00:26 UTC (rev 130291)
@@ -5,6 +5,7 @@
 ------------------
 
 - Conform to Zope repository policy.
+- Support Python 3
 
 1.0.0 (2009-03-10)
 ------------------

Modified: van.potomo/trunk/setup.py
===================================================================
--- van.potomo/trunk/setup.py	2013-08-01 18:34:11 UTC (rev 130290)
+++ van.potomo/trunk/setup.py	2013-08-15 08:00:26 UTC (rev 130291)
@@ -27,9 +27,11 @@
           'License :: OSI Approved :: Zope Public License',
           'Framework :: Setuptools Plugin',
           'Programming Language :: Python',
-          'Development Status :: 4 - Beta',
+          'Development Status :: 5 - Production/Stable',
           'Operating System :: OS Independent',
           'Topic :: Software Development :: Build Tools',
+          'Programming Language :: Python :: 3',
+          'Programming Language :: Python :: 2',
           ],
 
       entry_points = """

Modified: van.potomo/trunk/van/potomo/__init__.py
===================================================================
--- van.potomo/trunk/van/potomo/__init__.py	2013-08-01 18:34:11 UTC (rev 130290)
+++ van.potomo/trunk/van/potomo/__init__.py	2013-08-15 08:00:26 UTC (rev 130291)
@@ -70,8 +70,8 @@
                 _compile(src, dest)
 
 def _compile(src, dest):
-    print 'Compiling %s to %s' % (src, dest)
-    f = open(dest, 'w')
+    print ('Compiling %s to %s' % (src, dest))
+    f = open(dest, 'wb')
     try:
         f.write(Msgfmt(src).get())
     finally:



More information about the checkins mailing list