aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/python/ya.make
blob: f635a96ab0ff2f89c7bd634a189395738e9f7597 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
OWNER(
    spreis
    orivej
    g:contrib
)

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
)