diff options
author | shumkovnd <shumkovnd@yandex-team.com> | 2023-11-10 14:39:34 +0300 |
---|---|---|
committer | shumkovnd <shumkovnd@yandex-team.com> | 2023-11-10 16:42:24 +0300 |
commit | 77eb2d3fdcec5c978c64e025ced2764c57c00285 (patch) | |
tree | c51edb0748ca8d4a08d7c7323312c27ba1a8b79a /contrib/python/matplotlib/py2/src/ya.make | |
parent | dd6d20cadb65582270ac23f4b3b14ae189704b9d (diff) | |
download | ydb-77eb2d3fdcec5c978c64e025ced2764c57c00285.tar.gz |
KIKIMR-19287: add task_stats_drawing script
Diffstat (limited to 'contrib/python/matplotlib/py2/src/ya.make')
-rw-r--r-- | contrib/python/matplotlib/py2/src/ya.make | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/contrib/python/matplotlib/py2/src/ya.make b/contrib/python/matplotlib/py2/src/ya.make new file mode 100644 index 0000000000..544aba3996 --- /dev/null +++ b/contrib/python/matplotlib/py2/src/ya.make @@ -0,0 +1,66 @@ +PY2_LIBRARY() + +LICENSE(PSF-2.0) + +NO_COMPILER_WARNINGS() + +PEERDIR( + ADDINCL contrib/libs/freetype + ADDINCL contrib/libs/libpng + ADDINCL contrib/python/numpy + contrib/libs/qhull + contrib/python/matplotlib/py2/extern/agg24-svn + contrib/python/matplotlib/py2/extern/ttconv +) + +ADDINCL( + contrib/libs/qhull/libqhull_r + contrib/python/matplotlib/py2 + contrib/python/matplotlib/py2/extern + contrib/python/matplotlib/py2/extern/agg24-svn/include +) + +CFLAGS( + -D_MULTIARRAYMODULE + -DFREETYPE_BUILD_TYPE=local + -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION + -DMPL_DEVNULL=/dev/null +) + +IF (OS_WINDOWS) + LDFLAGS( + Psapi.lib + ) +ENDIF() + +PY_REGISTER( + matplotlib._contour + matplotlib._image # peerdir agg24-svn + matplotlib._path # peerdir agg24-svn + matplotlib._png + matplotlib._qhull # peerdir libqhull + matplotlib.backends._backend_agg # peerdir agg24-svn + matplotlib.backends._tkagg + matplotlib.ft2font + matplotlib.ttconv # peerdir ttconv +) + +SRCS( + _backend_agg.cpp + _backend_agg_wrapper.cpp + _contour.cpp + _contour_wrapper.cpp + _image.cpp + _image_wrapper.cpp + _path_wrapper.cpp + _png.cpp + _tkagg.cpp + _ttconv.cpp + ft2font.cpp + ft2font_wrapper.cpp + mplutils.cpp + py_converters.cpp + qhull_wrap.c +) + +END() |