1 config BR2_PACKAGE_PYTHON
3 depends on BR2_USE_WCHAR
6 depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
7 select BR2_PACKAGE_LIBFFI
9 The python language interpreter.
11 http://www.python.org/
13 comment "python needs a toolchain w/ wchar, threads"
14 depends on BR2_USE_MMU
15 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
20 prompt "python module format to install"
21 default BR2_PACKAGE_PYTHON_PYC_ONLY
23 Select Python module format to install on target (py, pyc or both)
25 config BR2_PACKAGE_PYTHON_PY_ONLY
26 bool ".py sources only"
28 config BR2_PACKAGE_PYTHON_PYC_ONLY
29 bool ".pyc compiled sources only"
31 config BR2_PACKAGE_PYTHON_PY_PYC
32 bool ".py sources and .pyc compiled"
36 menu "core python modules"
38 comment "The following modules are unusual or require extra libraries"
40 config BR2_PACKAGE_PYTHON_BZIP2
41 select BR2_PACKAGE_BZIP2
44 bzip2 module for Python
46 config BR2_PACKAGE_PYTHON_BSDDB
47 select BR2_PACKAGE_BERKELEYDB
50 bsddb module for Python.
52 config BR2_PACKAGE_PYTHON_CODECSCJK
53 bool "codecscjk module"
55 Chinese/Japanese/Korean codecs module for Python (large).
57 config BR2_PACKAGE_PYTHON_CURSES
58 select BR2_PACKAGE_NCURSES
61 curses module for Python.
63 config BR2_PACKAGE_PYTHON_OSSAUDIODEV
64 bool "ossaudiodev module"
66 ossaudiodev module for Python.
68 config BR2_PACKAGE_PYTHON_PYEXPAT
69 select BR2_PACKAGE_EXPAT
72 pyexpat module for Python.
74 config BR2_PACKAGE_PYTHON_READLINE
75 select BR2_PACKAGE_READLINE
78 readline module for Python (required for command-line
79 editing in the Python shell).
81 config BR2_PACKAGE_PYTHON_SSL
82 select BR2_PACKAGE_OPENSSL
85 _ssl module for Python (required for https in urllib etc).
87 config BR2_PACKAGE_PYTHON_UNICODEDATA
88 bool "unicodedata module"
91 Unicode character database (used by stringprep module) (large).
93 if BR2_PACKAGE_PYTHON_UNICODEDATA
96 prompt "Python unicode database format"
97 default BR2_PACKAGE_PYTHON_UCS2
99 Select Python unicode database format for target
101 config BR2_PACKAGE_PYTHON_UCS2
102 bool "Universal Character Set 2-byte (UCS2)"
104 config BR2_PACKAGE_PYTHON_UCS4
105 bool "Universal Character Set 4-byte (UCS4)"
111 config BR2_PACKAGE_PYTHON_SQLITE
113 select BR2_PACKAGE_SQLITE
115 SQLite database support
117 config BR2_PACKAGE_PYTHON_ZLIB
119 select BR2_PACKAGE_ZLIB
121 zlib support in Python
123 config BR2_PACKAGE_PYTHON_HASHLIB
124 bool "hashlib module"
125 select BR2_PACKAGE_OPENSSL
127 hashlib support in Python