setup: remove Python 2 only syntax

This commit is contained in:
Bas Westerbaan 2013-01-28 14:32:01 +01:00
parent 69ba3c9bf9
commit 6fa0f46a12

View file

@ -41,10 +41,10 @@ class BuildExt(build_ext):
try:
ext.sources = list(map(ensure_source, ext.sources))
except NoCython:
print "WARNING"
print "Cython is required for building extension from checkout."
print "Install Cython >= 0.16 or install msgpack from PyPI."
print "Falling back to pure Python implementation."
print("WARNING")
print("Cython is required for building extension from checkout.")
print("Install Cython >= 0.16 or install msgpack from PyPI.")
print("Falling back to pure Python implementation.")
return
return build_ext.build_extension(self, ext)