ya.make 1007 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. PY23_NATIVE_LIBRARY()
  2. YQL_ABI_VERSION(2 27 0)
  3. SRCS(
  4. py_callable.cpp
  5. py_cast.cpp
  6. py_decimal.cpp
  7. py_errors.cpp
  8. py_dict.cpp
  9. py_list.cpp
  10. py_lazy_mkql_dict.cpp
  11. py_lazy_mkql_list.cpp
  12. py_iterator.cpp
  13. py_resource.cpp
  14. py_stream.cpp
  15. py_struct.cpp
  16. py_tuple.cpp
  17. py_utils.cpp
  18. py_variant.cpp
  19. py_void.cpp
  20. py_yql_module.cpp
  21. )
  22. IF (USE_SYSTEM_PYTHON AND _SYSTEM_PYTHON27)
  23. # we should be able to run on python 2.7.X versions
  24. # with X ranging from 3 to (at least) 15
  25. #
  26. # for now bindings already use some functionality from 2.7.15,
  27. # which doesn't exist earlier versions
  28. # (according symbols won't be loaded from system python)
  29. #
  30. # so we provide backported implementation for this scenario to work as intended
  31. SRCS(
  32. py27_backports.c
  33. )
  34. ENDIF()
  35. RESOURCE(
  36. typing.py typing.py
  37. )
  38. PEERDIR(
  39. yql/essentials/public/udf
  40. yql/essentials/utils
  41. )
  42. NO_COMPILER_WARNINGS()
  43. END()
  44. RECURSE_FOR_TESTS(
  45. ut3
  46. )