aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/runtime/ya.make
blob: 30147d241d309b364abe3bc9646a7b3be5fcf19a (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
PY2_LIBRARY()

NO_WSHADOW()

PEERDIR(
    contrib/tools/python/lib
    library/cpp/resource
)

CFLAGS(-DCYTHON_REGISTER_ABCS=0)

NO_PYTHON_INCLUDES()

PY_SRCS(
    entry_points.py
    TOP_LEVEL
    __res.pyx
    sitecustomize.pyx
)

IF (CYTHON_COVERAGE)
    # Let covarage support add all needed files to resources
ELSE()
    RESOURCE_FILES(
        PREFIX ${MODDIR}/
        __res.pyx
        importer.pxi
        sitecustomize.pyx
    )
ENDIF()

END()