mirror of https://github.com/explosion/spaCy.git
Set cython profiling default to True for <3.12, False for >=3.12
This commit is contained in:
parent
538304948e
commit
1adf79414e
1
setup.py
1
setup.py
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue