Config.in 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. config BR2_PACKAGE_PYTHON
  2. bool "python"
  3. depends on BR2_USE_WCHAR
  4. # uses fork()
  5. depends on BR2_USE_MMU
  6. depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
  7. select BR2_PACKAGE_LIBFFI
  8. help
  9. The python language interpreter.
  10. http://www.python.org/
  11. comment "python needs a toolchain w/ wchar, threads"
  12. depends on BR2_USE_MMU
  13. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
  14. if BR2_PACKAGE_PYTHON
  15. choice
  16. prompt "python module format to install"
  17. default BR2_PACKAGE_PYTHON_PYC_ONLY
  18. help
  19. Select Python module format to install on target (py, pyc or both)
  20. config BR2_PACKAGE_PYTHON_PY_ONLY
  21. bool ".py sources only"
  22. config BR2_PACKAGE_PYTHON_PYC_ONLY
  23. bool ".pyc compiled sources only"
  24. config BR2_PACKAGE_PYTHON_PY_PYC
  25. bool ".py sources and .pyc compiled"
  26. endchoice
  27. menu "core python modules"
  28. comment "The following modules are unusual or require extra libraries"
  29. config BR2_PACKAGE_PYTHON_BZIP2
  30. select BR2_PACKAGE_BZIP2
  31. bool "bzip2 module"
  32. help
  33. bzip2 module for Python
  34. config BR2_PACKAGE_PYTHON_BSDDB
  35. select BR2_PACKAGE_BERKELEYDB
  36. bool "bsddb module"
  37. help
  38. bsddb module for Python.
  39. config BR2_PACKAGE_PYTHON_CODECSCJK
  40. bool "codecscjk module"
  41. help
  42. Chinese/Japanese/Korean codecs module for Python (large).
  43. config BR2_PACKAGE_PYTHON_CURSES
  44. select BR2_PACKAGE_NCURSES
  45. bool "curses module"
  46. help
  47. curses module for Python.
  48. config BR2_PACKAGE_PYTHON_OSSAUDIODEV
  49. bool "ossaudiodev module"
  50. help
  51. ossaudiodev 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_PYEXPAT
  86. select BR2_PACKAGE_EXPAT
  87. bool "xml module"
  88. help
  89. pyexpat and xml libraries for Python
  90. config BR2_PACKAGE_PYTHON_ZLIB
  91. bool "zlib module"
  92. select BR2_PACKAGE_ZLIB
  93. help
  94. zlib support in Python
  95. config BR2_PACKAGE_PYTHON_HASHLIB
  96. bool "hashlib module"
  97. select BR2_PACKAGE_OPENSSL
  98. help
  99. hashlib support in Python
  100. endmenu
  101. endif