diff options
| author | mikhnenko <[email protected]> | 2026-01-13 09:51:48 +0300 |
|---|---|---|
| committer | mikhnenko <[email protected]> | 2026-01-13 10:20:05 +0300 |
| commit | 05c0c8a128582bb1391c8e78f3e9269b9876e079 (patch) | |
| tree | 43d19cde15d5035bf689baa0a468bfba418dc372 /contrib/python/numpy | |
| parent | 7d5b002a117264dd78b242cc37673ec656379d4c (diff) | |
Split cython for py3 and py2
commit_hash:be16297e622cad23f9548bedfb2710b51b967573
Diffstat (limited to 'contrib/python/numpy')
| -rw-r--r-- | contrib/python/numpy/include/ya.make | 6 | ||||
| -rw-r--r-- | contrib/python/numpy/py3/ya.make | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/contrib/python/numpy/include/ya.make b/contrib/python/numpy/include/ya.make index 2c994eaa96b..78e03d10858 100644 --- a/contrib/python/numpy/include/ya.make +++ b/contrib/python/numpy/include/ya.make @@ -16,4 +16,10 @@ ADDINCL( GLOBAL FOR cython contrib/python/numpy/include/numpy/core/include/numpy ) +IF (PYTHON_TYPE_FOR_CYTHON == "PY3") + ADDINCL( + GLOBAL FOR cython contrib/python/numpy/py3 + ) +ENDIF() + END() diff --git a/contrib/python/numpy/py3/ya.make b/contrib/python/numpy/py3/ya.make index a6a43be5f15..1797792994c 100644 --- a/contrib/python/numpy/py3/ya.make +++ b/contrib/python/numpy/py3/ya.make @@ -25,6 +25,9 @@ ADDINCL( contrib/python/numpy/include/numpy/core/src/umath contrib/python/numpy/include/numpy/distutils/include ) +ADDINCL( + GLOBAL FOR cython contrib/python/numpy/py3 +) NO_COMPILER_WARNINGS() |
