aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/python/ya.make
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/python/ya.make
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/python/ya.make')
-rw-r--r--contrib/libs/python/ya.make46
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/libs/python/ya.make b/contrib/libs/python/ya.make
new file mode 100644
index 0000000000..95e7f8744e
--- /dev/null
+++ b/contrib/libs/python/ya.make
@@ -0,0 +1,46 @@
+PY23_LIBRARY()
+
+LICENSE(YandexOpen)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+NO_PYTHON_INCLUDES()
+
+IF (USE_ARCADIA_PYTHON)
+ PEERDIR(
+ contrib/libs/python/Include
+ library/python/symbols/module
+ library/python/symbols/libc
+ library/python/symbols/python
+ )
+ IF (NOT OS_WINDOWS AND NOT OPENSOURCE)
+ PEERDIR(
+ library/python/symbols/uuid
+ )
+ ENDIF()
+ IF (MODULE_TAG == "PY2")
+ PEERDIR(
+ contrib/tools/python/lib
+ library/python/runtime
+ )
+ ELSE()
+ PEERDIR(
+ contrib/tools/python3/lib
+ library/python/runtime_py3
+ )
+ ENDIF()
+ELSE()
+ IF (USE_SYSTEM_PYTHON)
+ PEERDIR(
+ build/platform/python
+ )
+ ELSE()
+ CFLAGS(GLOBAL $PYTHON_INCLUDE)
+ ENDIF()
+ENDIF()
+
+END()
+
+RECURSE(
+ Include
+)