Set cython profiling default to True for <3.12, False for >=3.12

This commit is contained in:
Adriane Boyd 2023-09-12 08:52:15 +02:00
parent 538304948e
commit 1adf79414e

View File

@ -78,6 +78,7 @@ COMPILER_DIRECTIVES = {
"language_level": -3,
"embedsignature": True,
"annotation_typing": False,
"profile": sys.version_info < (3, 12),
}
# Files to copy into the package that are otherwise not included
COPY_FILES = {