Config.in 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS
  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_BZIP2
  34. bool "bz2 module"
  35. select BR2_PACKAGE_BZIP2
  36. help
  37. bzip2 module for Python3
  38. config BR2_PACKAGE_PYTHON3_CODECSCJK
  39. bool "codecscjk module"
  40. help
  41. Chinese/Japanese/Korean codecs module for Python (large).
  42. config BR2_PACKAGE_PYTHON3_CURSES
  43. bool "curses module"
  44. select BR2_PACKAGE_NCURSES
  45. help
  46. curses module for Python3.
  47. config BR2_PACKAGE_PYTHON3_DECIMAL
  48. bool "decimal module"
  49. select BR2_PACKAGE_MPDECIMAL
  50. help
  51. decimal module for Python3.
  52. config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
  53. bool "ossaudiodev module"
  54. help
  55. ossaudiodev module for Python3.
  56. config BR2_PACKAGE_PYTHON3_READLINE
  57. bool "readline"
  58. select BR2_PACKAGE_READLINE
  59. help
  60. readline module for Python3 (required for command-line
  61. editing in the Python shell).
  62. config BR2_PACKAGE_PYTHON3_SSL
  63. bool "ssl"
  64. select BR2_PACKAGE_OPENSSL
  65. help
  66. _ssl module for Python3 (required for https in urllib etc).
  67. config BR2_PACKAGE_PYTHON3_UNICODEDATA
  68. bool "unicodedata module"
  69. default y
  70. help
  71. Unicode character database (used by stringprep module)
  72. (large).
  73. config BR2_PACKAGE_PYTHON3_SQLITE
  74. bool "sqlite module"
  75. select BR2_PACKAGE_SQLITE
  76. help
  77. SQLite database support
  78. config BR2_PACKAGE_PYTHON3_PYEXPAT
  79. bool "xml module"
  80. select BR2_PACKAGE_EXPAT
  81. help
  82. pyexpat and xml libraries for Python3.
  83. config BR2_PACKAGE_PYTHON3_XZ
  84. bool "xz module"
  85. select BR2_PACKAGE_XZ
  86. help
  87. xz (a.k.a lzma) module for Python3
  88. config BR2_PACKAGE_PYTHON3_ZLIB
  89. bool "zlib module"
  90. select BR2_PACKAGE_ZLIB
  91. help
  92. zlib support in Python3
  93. endmenu
  94. endif