pybind: set language_level for cythonize explicitly
authorKefu Chai <kchai@redhat.com>
Thu, 21 Feb 2019 14:54:30 +0000 (22:54 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 21 Feb 2019 15:05:52 +0000 (23:05 +0800)
commitded3d43dbf8a36daa65d8efe406af4d12ffc7dd8
tree0de5fc27ebd8348241abb86516240d0bab7495ee
parent6ca980beffafdbbfbfd8273a27a6e19844c37266
pybind: set language_level for cythonize explicitly

Compiling rbd.pyx because it changed.
[1/1] Cythonizing rbd.pyx
/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367:
FutureWarning: Cython directive 'language_level' not set, using 2 for
now (Py2). This will change in a later re
lease! File: /var/ssd/ceph/src/pybind/rbd/rbd.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

this warning is raised by cython 0.29.2

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py
src/pybind/rgw/setup.py