ya.make 760 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. PY3_LIBRARY()
  2. STYLE_PYTHON()
  3. PEERDIR(
  4. contrib/tools/python3
  5. contrib/tools/python3/lib2/py
  6. library/cpp/resource
  7. )
  8. CFLAGS(-DCYTHON_REGISTER_ABCS=0)
  9. NO_PYTHON_INCLUDES()
  10. ENABLE(PYBUILD_NO_PYC)
  11. PY_SRCS(
  12. entry_points.py
  13. TOP_LEVEL
  14. CYTHON_DIRECTIVE
  15. language_level=3
  16. __res.pyx
  17. sitecustomize.pyx
  18. )
  19. IF (EXTERNAL_PY_FILES)
  20. PEERDIR(
  21. library/python/runtime_py3/enable_external_py_files
  22. )
  23. ENDIF()
  24. IF (CYTHON_COVERAGE)
  25. # Let covarage support add all needed files to resources
  26. ELSE()
  27. RESOURCE_FILES(
  28. DONT_COMPRESS
  29. PREFIX ${MODDIR}/
  30. __res.pyx
  31. importer.pxi
  32. sitecustomize.pyx
  33. )
  34. ENDIF()
  35. END()
  36. RECURSE(
  37. enable_external_py_files
  38. )
  39. RECURSE_FOR_TESTS(
  40. test
  41. )