diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-08-03 23:57:40 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-08-03 23:57:40 +0300 |
commit | 5e3e7b74060fa74b1e3d892d51289dc62187a52d (patch) | |
tree | 8ec52b526eeb1da45c12eee334f949234663b55e /contrib/libs | |
parent | 3b3a38bf9d40f30c5481729e2db387542f01fcba (diff) | |
download | ydb-5e3e7b74060fa74b1e3d892d51289dc62187a52d.tar.gz |
Use Service-Py23-Proxy license in contrib/libs/python
I would like to get rid of weird Yandex* licenses.
YandexOpen is the least used member of the group.
Diffstat (limited to 'contrib/libs')
-rw-r--r-- | contrib/libs/python/Include/ya.make | 2 | ||||
-rw-r--r-- | contrib/libs/python/ya.make | 16 |
2 files changed, 14 insertions, 4 deletions
diff --git a/contrib/libs/python/Include/ya.make b/contrib/libs/python/Include/ya.make index 970d0b1b1d..569cd71c24 100644 --- a/contrib/libs/python/Include/ya.make +++ b/contrib/libs/python/Include/ya.make @@ -2,7 +2,7 @@ PY23_LIBRARY() WITHOUT_LICENSE_TEXTS() -LICENSE(YandexOpen) +LICENSE(Service-Py23-Proxy) NO_PYTHON_INCLUDES() diff --git a/contrib/libs/python/ya.make b/contrib/libs/python/ya.make index 95e7f8744e..bc19d26699 100644 --- a/contrib/libs/python/ya.make +++ b/contrib/libs/python/ya.make @@ -1,14 +1,17 @@ PY23_LIBRARY() -LICENSE(YandexOpen) +LICENSE(Service-Py23-Proxy) -LICENSE_TEXTS(.yandex_meta/licenses.list.txt) +WITHOUT_LICENSE_TEXTS() NO_PYTHON_INCLUDES() IF (USE_ARCADIA_PYTHON) + ADDINCL( + GLOBAL contrib/libs/python/Include + ) + PEERDIR( - contrib/libs/python/Include library/python/symbols/module library/python/symbols/libc library/python/symbols/python @@ -19,13 +22,20 @@ IF (USE_ARCADIA_PYTHON) ) ENDIF() IF (MODULE_TAG == "PY2") + CFLAGS( + GLOBAL -DUSE_PYTHON2 + ) PEERDIR( contrib/tools/python/lib library/python/runtime ) ELSE() + CFLAGS( + GLOBAL -DUSE_PYTHON3 + ) PEERDIR( contrib/tools/python3/lib + contrib/tools/python3/src library/python/runtime_py3 ) ENDIF() |