Config.in 2.9 KB

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