From b7b441eeef8bfa1dc286c78435ff9bac9d072302 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 2 Oct 2022 10:35:08 -1000 Subject: [PATCH] fix: language_level warning when running cythonize (#57) --- build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 85a67ae..61c4b2b 100644 --- a/build.py +++ b/build.py @@ -25,7 +25,8 @@ def build(setup_kwargs): "src/dbus_fast/unpack.py", "src/dbus_fast/_private/marshaller.py", "src/dbus_fast/_private/unmarshaller.py", - ] + ], + compiler_directives={"language_level": "3"}, # Python 3 ), cmdclass=dict(build_ext=BuildExt), )