mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
setup: remove Python 2 only syntax
This commit is contained in:
parent
69ba3c9bf9
commit
6fa0f46a12
1 changed files with 4 additions and 4 deletions
8
setup.py
8
setup.py
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue