diff options
author | Thomas Waldmann <tw@waldmann-edv.de> | 2024-01-02 19:30:14 +0100 |
---|---|---|
committer | Thomas Waldmann <tw@waldmann-edv.de> | 2024-01-02 19:30:14 +0100 |
commit | 5ca4703a47cb270e6f08f91c98b3e71ce1c2ce49 (patch) | |
tree | 7570173a4764b3fb8e2dd97443c104da6ef8c09c /setup.py | |
parent | 1432f547fe4fe13386b245dcc0d9c2a0880ddfe6 (diff) |
use and require cython3
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -239,6 +239,8 @@ if not on_rtd: ) if cythonize and cythonizing: + # 3str is the default in Cython3 and we do not support older Cython releases. + # we only set this to avoid the related FutureWarning from Cython3. cython_opts = dict(compiler_directives={"language_level": "3str"}) if not is_win32: # compile .pyx extensions to .c in parallel, does not work on windows |