mirror of
https://github.com/ceph/ceph
synced 2025-02-19 00:47:49 +00:00
Merge PR #26476 into master
* refs/pull/26476/head: pybind: auto encode/decode cstr pybind: set language_level for cythonize explicitly Reviewed-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
commit
b700dca795
@ -205,6 +205,7 @@ setup(
|
||||
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")
|
||||
|
@ -1,4 +1,4 @@
|
||||
# cython: embedsignature=True
|
||||
# cython: embedsignature=True, c_string_type=str, c_string_encoding=ascii
|
||||
"""
|
||||
This module is a thin wrapper around librados.
|
||||
|
||||
|
@ -199,7 +199,9 @@ setup(
|
||||
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',
|
||||
|
@ -1,4 +1,4 @@
|
||||
# cython: embedsignature=True
|
||||
# cython: embedsignature=True, c_string_type=str, c_string_encoding=ascii
|
||||
"""
|
||||
This module is a thin wrapper around librbd.
|
||||
|
||||
|
@ -204,6 +204,7 @@ setup(
|
||||
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")
|
||||
|
@ -205,6 +205,7 @@ setup(
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user