Config.in 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. comment "python3 needs a toolchain w/ wchar, threads, dynamic library"
  2. depends on BR2_USE_MMU
  3. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
  4. config BR2_PACKAGE_PYTHON3
  5. bool "python3"
  6. depends on !BR2_PACKAGE_PYTHON
  7. depends on BR2_USE_WCHAR
  8. # uses fork()
  9. depends on BR2_USE_MMU
  10. depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
  11. depends on !BR2_STATIC_LIBS
  12. select BR2_PACKAGE_LIBFFI
  13. help
  14. The python language interpreter.
  15. http://www.python.org/
  16. if BR2_PACKAGE_PYTHON3
  17. choice
  18. prompt "python3 module format to install"
  19. default BR2_PACKAGE_PYTHON3_PYC_ONLY
  20. help
  21. Select Python module format to install on target (py, pyc or both)
  22. config BR2_PACKAGE_PYTHON3_PY_ONLY
  23. bool ".py sources only"
  24. config BR2_PACKAGE_PYTHON3_PYC_ONLY
  25. bool ".pyc compiled sources only"
  26. config BR2_PACKAGE_PYTHON3_PY_PYC
  27. bool ".py sources and .pyc compiled"
  28. endchoice
  29. menu "core python3 modules"
  30. comment "The following modules are unusual or require extra libraries"
  31. config BR2_PACKAGE_PYTHON3_BZIP2
  32. bool "bz2 module"
  33. select BR2_PACKAGE_BZIP2
  34. help
  35. bzip2 module for Python3
  36. config BR2_PACKAGE_PYTHON3_CODECSCJK
  37. bool "codecscjk module"
  38. help
  39. Chinese/Japanese/Korean codecs module for Python (large).
  40. config BR2_PACKAGE_PYTHON3_CURSES
  41. bool "curses module"
  42. select BR2_PACKAGE_NCURSES
  43. help
  44. curses module for Python3.
  45. config BR2_PACKAGE_PYTHON3_DECIMAL
  46. bool "decimal module"
  47. select BR2_PACKAGE_MPDECIMAL
  48. help
  49. decimal module for Python3.
  50. config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
  51. bool "ossaudiodev module"
  52. help
  53. ossaudiodev module for Python3.
  54. config BR2_PACKAGE_PYTHON3_READLINE
  55. bool "readline"
  56. select BR2_PACKAGE_READLINE
  57. help
  58. readline module for Python3 (required for command-line
  59. editing in the Python shell).
  60. config BR2_PACKAGE_PYTHON3_SSL
  61. bool "ssl"
  62. select BR2_PACKAGE_OPENSSL
  63. help
  64. _ssl module for Python3 (required for https in urllib etc).
  65. config BR2_PACKAGE_PYTHON3_UNICODEDATA
  66. bool "unicodedata module"
  67. default y
  68. help
  69. Unicode character database (used by stringprep module) (large).
  70. config BR2_PACKAGE_PYTHON3_SQLITE
  71. bool "sqlite module"
  72. select BR2_PACKAGE_SQLITE
  73. help
  74. SQLite database support
  75. config BR2_PACKAGE_PYTHON3_PYEXPAT
  76. bool "xml module"
  77. select BR2_PACKAGE_EXPAT
  78. help
  79. pyexpat and xml libraries for Python3.
  80. config BR2_PACKAGE_PYTHON3_XZ
  81. bool "xz module"
  82. select BR2_PACKAGE_XZ
  83. help
  84. xz (a.k.a lzma) module for Python3
  85. config BR2_PACKAGE_PYTHON3_ZLIB
  86. bool "zlib module"
  87. select BR2_PACKAGE_ZLIB
  88. help
  89. zlib support in Python3
  90. endmenu
  91. endif