Config.in 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. config BR2_PACKAGE_PYTHON3
  2. bool "python3"
  3. depends on !BR2_PACKAGE_PYTHON
  4. depends on BR2_USE_WCHAR
  5. # uses fork()
  6. depends on BR2_USE_MMU
  7. depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
  8. select BR2_PACKAGE_LIBFFI
  9. help
  10. The python language interpreter.
  11. http://www.python.org/
  12. comment "python3 needs a toolchain w/ wchar, threads"
  13. depends on BR2_USE_MMU
  14. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
  15. if BR2_PACKAGE_PYTHON3
  16. choice
  17. prompt "python3 module format to install"
  18. default BR2_PACKAGE_PYTHON3_PYC_ONLY
  19. help
  20. Select Python module format to install on target (py, pyc or both)
  21. config BR2_PACKAGE_PYTHON3_PY_ONLY
  22. bool ".py sources only"
  23. config BR2_PACKAGE_PYTHON3_PYC_ONLY
  24. bool ".pyc compiled sources only"
  25. config BR2_PACKAGE_PYTHON3_PY_PYC
  26. bool ".py sources and .pyc compiled"
  27. endchoice
  28. menu "core python3 modules"
  29. comment "The following modules are unusual or require extra libraries"
  30. config BR2_PACKAGE_PYTHON3_BZIP2
  31. select BR2_PACKAGE_BZIP2
  32. bool "bz2 module"
  33. help
  34. bzip2 module for Python3
  35. config BR2_PACKAGE_PYTHON3_CODECSCJK
  36. bool "codecscjk module"
  37. help
  38. Chinese/Japanese/Korean codecs module for Python (large).
  39. config BR2_PACKAGE_PYTHON3_CURSES
  40. select BR2_PACKAGE_NCURSES
  41. bool "curses module"
  42. help
  43. curses module for Python3.
  44. config BR2_PACKAGE_PYTHON3_DECIMAL
  45. select BR2_PACKAGE_MPDECIMAL
  46. bool "decimal module"
  47. help
  48. decimal module for Python3.
  49. config BR2_PACKAGE_PYTHON3_PYEXPAT
  50. select BR2_PACKAGE_EXPAT
  51. bool "pyexpat"
  52. help
  53. pyexpat module for Python3.
  54. config BR2_PACKAGE_PYTHON3_READLINE
  55. select BR2_PACKAGE_READLINE
  56. bool "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. select BR2_PACKAGE_OPENSSL
  62. bool "ssl"
  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_ZLIB
  76. bool "zlib module"
  77. select BR2_PACKAGE_ZLIB
  78. help
  79. zlib support in Python3
  80. endmenu
  81. endif