Config.in 2.9 KB

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