summaryrefslogtreecommitdiffstats
path: root/contrib/libs/python/Include
diff options
context:
space:
mode:
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()