Config.in 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. comment "python 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_PYTHON
  5. bool "python"
  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. help
  13. The python language interpreter.
  14. http://www.python.org/
  15. if BR2_PACKAGE_PYTHON
  16. choice
  17. prompt "python module format to install"
  18. default BR2_PACKAGE_PYTHON_PYC_ONLY
  19. help
  20. Select Python module format to install on target (py, pyc or
  21. both)
  22. config BR2_PACKAGE_PYTHON_PY_ONLY
  23. bool ".py sources only"
  24. config BR2_PACKAGE_PYTHON_PYC_ONLY
  25. bool ".pyc compiled sources only"
  26. config BR2_PACKAGE_PYTHON_PY_PYC
  27. bool ".py sources and .pyc compiled"
  28. endchoice
  29. menu "core python modules"
  30. comment "The following modules are unusual or require extra libraries"
  31. config BR2_PACKAGE_PYTHON_2TO3
  32. bool "2to3 module"
  33. help
  34. code translation from python 2 to 3
  35. config BR2_PACKAGE_PYTHON_BZIP2
  36. bool "bzip2 module"
  37. select BR2_PACKAGE_BZIP2
  38. help
  39. bzip2 module for Python
  40. config BR2_PACKAGE_PYTHON_BSDDB
  41. bool "bsddb module"
  42. select BR2_PACKAGE_BERKELEYDB
  43. help
  44. bsddb module for Python.
  45. config BR2_PACKAGE_PYTHON_CODECSCJK
  46. bool "codecscjk module"
  47. help
  48. Chinese/Japanese/Korean codecs module for Python (large).
  49. config BR2_PACKAGE_PYTHON_CURSES
  50. bool "curses module"
  51. select BR2_PACKAGE_NCURSES
  52. help
  53. curses module for Python.
  54. config BR2_PACKAGE_PYTHON_OSSAUDIODEV
  55. bool "ossaudiodev module"
  56. help
  57. ossaudiodev module for Python.
  58. config BR2_PACKAGE_PYTHON_READLINE
  59. bool "readline"
  60. select BR2_PACKAGE_READLINE
  61. help
  62. readline module for Python (required for command-line
  63. editing in the Python shell).
  64. config BR2_PACKAGE_PYTHON_SSL
  65. bool "ssl"
  66. select BR2_PACKAGE_OPENSSL
  67. help
  68. _ssl module for Python (required for https in urllib etc).
  69. config BR2_PACKAGE_PYTHON_UNICODEDATA
  70. bool "unicodedata module"
  71. default y
  72. help
  73. Unicode character database (used by stringprep module)
  74. (large).
  75. if BR2_PACKAGE_PYTHON_UNICODEDATA
  76. choice
  77. prompt "Python unicode database format"
  78. default BR2_PACKAGE_PYTHON_UCS2
  79. help
  80. Select Python unicode database format for target
  81. config BR2_PACKAGE_PYTHON_UCS2
  82. bool "Universal Character Set 2-byte (UCS2)"
  83. config BR2_PACKAGE_PYTHON_UCS4
  84. bool "Universal Character Set 4-byte (UCS4)"
  85. endchoice
  86. endif
  87. config BR2_PACKAGE_PYTHON_SQLITE
  88. bool "sqlite module"
  89. select BR2_PACKAGE_SQLITE
  90. help
  91. SQLite database support
  92. config BR2_PACKAGE_PYTHON_PYEXPAT
  93. bool "xml module"
  94. select BR2_PACKAGE_EXPAT
  95. help
  96. pyexpat and xml libraries for Python
  97. config BR2_PACKAGE_PYTHON_ZLIB
  98. bool "zlib module"
  99. select BR2_PACKAGE_ZLIB
  100. help
  101. zlib support in Python
  102. config BR2_PACKAGE_PYTHON_HASHLIB
  103. bool "hashlib module"
  104. select BR2_PACKAGE_OPENSSL
  105. help
  106. hashlib support in Python
  107. endmenu
  108. endif