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_PYEXPAT
  53. select BR2_PACKAGE_EXPAT
  54. bool "pyexpat"
  55. help
  56. pyexpat module for Python.
  57. config BR2_PACKAGE_PYTHON_READLINE
  58. select BR2_PACKAGE_READLINE
  59. bool "readline"
  60. help
  61. readline module for Python (required for command-line
  62. editing in the Python shell).
  63. config BR2_PACKAGE_PYTHON_SSL
  64. select BR2_PACKAGE_OPENSSL
  65. bool "ssl"
  66. help
  67. _ssl module for Python (required for https in urllib etc).
  68. config BR2_PACKAGE_PYTHON_UNICODEDATA
  69. bool "unicodedata module"
  70. default y
  71. help
  72. Unicode character database (used by stringprep module) (large).
  73. if BR2_PACKAGE_PYTHON_UNICODEDATA
  74. choice
  75. prompt "Python unicode database format"
  76. default BR2_PACKAGE_PYTHON_UCS2
  77. help
  78. Select Python unicode database format for target
  79. config BR2_PACKAGE_PYTHON_UCS2
  80. bool "Universal Character Set 2-byte (UCS2)"
  81. config BR2_PACKAGE_PYTHON_UCS4
  82. bool "Universal Character Set 4-byte (UCS4)"
  83. endchoice
  84. endif
  85. config BR2_PACKAGE_PYTHON_SQLITE
  86. bool "sqlite module"
  87. select BR2_PACKAGE_SQLITE
  88. help
  89. SQLite database support
  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