Commits

Anonymous committed 522d157

Fixes setup.py for Python 3 by avoiding use of print before 2to3 could be run by setup.

  • Participants
  • Parent commits edb9ca5
  • Branches py3.2

Comments (0)

Files changed (1)

 from setuptools import setup, find_packages
-import re, os
+import re, os, sys
 
 version = '1.7.5'
 
             found_news = parts[i+i]
             break
 if not found_news:
-    print 'Warning: no news for this version found'
+    sys.stdout.write('Warning: no news for this version found\n')
 
 long_description="""\
 This is a pluggable command-line tool.