]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/python/Config.in
package/python: change BR2_PACKAGE_PYTHON_PYEXPAT description
[coffee/buildroot.git] / package / python / Config.in
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
11           http://www.python.org/
12
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
16
17 if BR2_PACKAGE_PYTHON
18
19 choice
20         prompt "python module format to install"
21         default BR2_PACKAGE_PYTHON_PYC_ONLY
22         help
23           Select Python module format to install on target (py, pyc or both)
24
25 config BR2_PACKAGE_PYTHON_PY_ONLY
26         bool ".py sources only"
27
28 config BR2_PACKAGE_PYTHON_PYC_ONLY
29         bool ".pyc compiled sources only"
30
31 config BR2_PACKAGE_PYTHON_PY_PYC
32         bool ".py sources and .pyc compiled"
33
34 endchoice
35
36 menu "core python modules"
37
38 comment "The following modules are unusual or require extra libraries"
39
40 config BR2_PACKAGE_PYTHON_BZIP2
41         select BR2_PACKAGE_BZIP2
42         bool "bzip2 module"
43         help
44           bzip2 module for Python
45
46 config BR2_PACKAGE_PYTHON_BSDDB
47         select BR2_PACKAGE_BERKELEYDB
48         bool "bsddb module"
49         help
50           bsddb module for Python.
51
52 config BR2_PACKAGE_PYTHON_CODECSCJK
53         bool "codecscjk module"
54         help
55           Chinese/Japanese/Korean codecs module for Python (large).
56
57 config BR2_PACKAGE_PYTHON_CURSES
58         select BR2_PACKAGE_NCURSES
59         bool "curses module"
60         help
61           curses module for Python.
62
63 config BR2_PACKAGE_PYTHON_OSSAUDIODEV
64         bool "ossaudiodev module"
65         help
66           ossaudiodev module for Python.
67
68 config BR2_PACKAGE_PYTHON_READLINE
69         select BR2_PACKAGE_READLINE
70         bool "readline"
71         help
72           readline module for Python (required for command-line
73           editing in the Python shell).
74
75 config BR2_PACKAGE_PYTHON_SSL
76         select BR2_PACKAGE_OPENSSL
77         bool "ssl"
78         help
79           _ssl module for Python (required for https in urllib etc).
80
81 config BR2_PACKAGE_PYTHON_UNICODEDATA
82         bool "unicodedata module"
83         default y
84         help
85           Unicode character database (used by stringprep module) (large).
86
87 if BR2_PACKAGE_PYTHON_UNICODEDATA
88
89 choice
90         prompt "Python unicode database format"
91         default BR2_PACKAGE_PYTHON_UCS2
92         help
93           Select Python unicode database format for target
94
95 config BR2_PACKAGE_PYTHON_UCS2
96         bool "Universal Character Set 2-byte (UCS2)"
97
98 config BR2_PACKAGE_PYTHON_UCS4
99         bool "Universal Character Set 4-byte (UCS4)"
100
101 endchoice
102
103 endif
104
105 config BR2_PACKAGE_PYTHON_SQLITE
106         bool "sqlite module"
107         select BR2_PACKAGE_SQLITE
108         help
109           SQLite database support
110
111 config BR2_PACKAGE_PYTHON_PYEXPAT
112         select BR2_PACKAGE_EXPAT
113         bool "xml module"
114         help
115           pyexpat and xml libraries for Python
116
117 config BR2_PACKAGE_PYTHON_ZLIB
118         bool "zlib module"
119         select BR2_PACKAGE_ZLIB
120         help
121           zlib support in Python
122
123 config BR2_PACKAGE_PYTHON_HASHLIB
124         bool "hashlib module"
125         select BR2_PACKAGE_OPENSSL
126         help
127           hashlib support in Python
128
129 endmenu
130
131 endif