Config.in 3.1 KB

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