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
1 changed files with 1 additions and 0 deletions

View File

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