aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/cyson/pymodule/ya.make
blob: dd308bd8a0e47e398935c6035228b227bc134a55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PY_ANY_MODULE(_cyson)

IF (PYTHON_CONFIG MATCHES "python3" OR USE_SYSTEM_PYTHON MATCHES "3.")
    PYTHON3_MODULE()
ELSE()
    PYTHON2_MODULE()
ENDIF()

NO_WSHADOW()

PEERDIR(
    library/c/cyson
)

SRCS(
    library/python/cyson/cyson/_cyson.pyx
    library/python/cyson/cyson/helpers.cpp
    library/python/cyson/cyson/unsigned_long.cpp
)

END()