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>
(cherry picked from commit
fb760dd7115d46547794d855b413ab0c3139a37e)
extra_compile_args=flags['cflags']['extras'] + flags['ldflags']['extras'],
)
],
+ compiler_directives={'language_level': sys.version_info.major},
build_dir=os.environ.get("CYTHON_BUILD_DIR", None),
include_path=[
os.path.join(os.path.dirname(__file__), "..", "rados")
libraries=["rados"] + flags['ldflags']['l'],
extra_compile_args=flags['cflags']['extras'] + flags['ldflags']['extras'],
)
- ], build_dir=os.environ.get("CYTHON_BUILD_DIR", None)
+ ],
+ compiler_directives={'language_level': sys.version_info.major},
+ build_dir=os.environ.get("CYTHON_BUILD_DIR", None)
),
classifiers=[
'Intended Audience :: Developers',
extra_compile_args=flags['cflags']['extras'] + flags['ldflags']['extras'],
)
],
+ compiler_directives={'language_level': sys.version_info.major},
build_dir=os.environ.get("CYTHON_BUILD_DIR", None),
include_path=[
os.path.join(os.path.dirname(__file__), "..", "rados")
extra_compile_args=flags['cflags']['extras'] + flags['ldflags']['extras'],
)
],
+ compiler_directives={'language_level': sys.version_info.major},
build_dir=os.environ.get("CYTHON_BUILD_DIR", None),
include_path=[
os.path.join(os.path.dirname(__file__), "..", "rados")