ya.make 586 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 (CYTHON_COVERAGE)
  20. # Let covarage support add all needed files to resources
  21. ELSE()
  22. RESOURCE_FILES(
  23. PREFIX ${MODDIR}/
  24. __res.pyx
  25. importer.pxi
  26. sitecustomize.pyx
  27. )
  28. ENDIF()
  29. END()
  30. RECURSE_FOR_TESTS(
  31. test
  32. )