1 comment "python needs a toolchain w/ wchar, threads, dynamic library"
3 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
5 config BR2_PACKAGE_PYTHON
7 depends on BR2_USE_WCHAR
10 depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
11 depends on !BR2_STATIC_LIBS
12 select BR2_PACKAGE_LIBFFI
14 The python language interpreter.
16 http://www.python.org/
21 prompt "python module format to install"
22 default BR2_PACKAGE_PYTHON_PYC_ONLY
24 Select Python module format to install on target (py, pyc or both)
26 config BR2_PACKAGE_PYTHON_PY_ONLY
27 bool ".py sources only"
29 config BR2_PACKAGE_PYTHON_PYC_ONLY
30 bool ".pyc compiled sources only"
32 config BR2_PACKAGE_PYTHON_PY_PYC
33 bool ".py sources and .pyc compiled"
37 menu "core python modules"
39 comment "The following modules are unusual or require extra libraries"
41 config BR2_PACKAGE_PYTHON_BZIP2
42 select BR2_PACKAGE_BZIP2
45 bzip2 module for Python
47 config BR2_PACKAGE_PYTHON_BSDDB
48 select BR2_PACKAGE_BERKELEYDB
51 bsddb module for Python.
53 config BR2_PACKAGE_PYTHON_CODECSCJK
54 bool "codecscjk module"
56 Chinese/Japanese/Korean codecs module for Python (large).
58 config BR2_PACKAGE_PYTHON_CURSES
59 select BR2_PACKAGE_NCURSES
62 curses module for Python.
64 config BR2_PACKAGE_PYTHON_OSSAUDIODEV
65 bool "ossaudiodev module"
67 ossaudiodev module for Python.
69 config BR2_PACKAGE_PYTHON_READLINE
70 select BR2_PACKAGE_READLINE
73 readline module for Python (required for command-line
74 editing in the Python shell).
76 config BR2_PACKAGE_PYTHON_SSL
77 select BR2_PACKAGE_OPENSSL
80 _ssl module for Python (required for https in urllib etc).
82 config BR2_PACKAGE_PYTHON_UNICODEDATA
83 bool "unicodedata module"
86 Unicode character database (used by stringprep module) (large).
88 if BR2_PACKAGE_PYTHON_UNICODEDATA
91 prompt "Python unicode database format"
92 default BR2_PACKAGE_PYTHON_UCS2
94 Select Python unicode database format for target
96 config BR2_PACKAGE_PYTHON_UCS2
97 bool "Universal Character Set 2-byte (UCS2)"
99 config BR2_PACKAGE_PYTHON_UCS4
100 bool "Universal Character Set 4-byte (UCS4)"
106 config BR2_PACKAGE_PYTHON_SQLITE
108 select BR2_PACKAGE_SQLITE
110 SQLite database support
112 config BR2_PACKAGE_PYTHON_PYEXPAT
113 select BR2_PACKAGE_EXPAT
116 pyexpat and xml libraries for Python
118 config BR2_PACKAGE_PYTHON_ZLIB
120 select BR2_PACKAGE_ZLIB
122 zlib support in Python
124 config BR2_PACKAGE_PYTHON_HASHLIB
125 bool "hashlib module"
126 select BR2_PACKAGE_OPENSSL
128 hashlib support in Python