summaryrefslogtreecommitdiffstats
path: root/contrib/libs/python/Include
diff options
context:
space:
mode:
authoralexv-smirnov <[email protected]>2023-03-15 19:59:12 +0300
committeralexv-smirnov <[email protected]>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/python/Include
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/python/Include')
-rw-r--r--contrib/libs/python/Include/ya.make23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/libs/python/Include/ya.make b/contrib/libs/python/Include/ya.make
new file mode 100644
index 00000000000..970d0b1b1db
--- /dev/null
+++ b/contrib/libs/python/Include/ya.make
@@ -0,0 +1,23 @@
+PY23_LIBRARY()
+
+WITHOUT_LICENSE_TEXTS()
+
+LICENSE(YandexOpen)
+
+NO_PYTHON_INCLUDES()
+
+ADDINCL(GLOBAL contrib/libs/python/Include)
+
+IF (PYTHON2)
+ CFLAGS(GLOBAL -DUSE_PYTHON2)
+ PEERDIR(
+ contrib/tools/python/lib
+ )
+ELSE()
+ CFLAGS(GLOBAL -DUSE_PYTHON3)
+ PEERDIR(
+ contrib/tools/python3/src
+ )
+ENDIF()
+
+END()