fix: language_level warning when running cythonize (#57)

This commit is contained in:
J. Nick Koston 2022-10-02 10:35:08 -10:00 committed by GitHub
parent c417e91487
commit b7b441eeef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),
)