Config.in 2.8 KB

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