2
1

Config.in 2.5 KB

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