]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/python/Config.in
87defad812db306185b75f5ecc492f2a3593f10c
[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_PYEXPAT
69         select BR2_PACKAGE_EXPAT
70         bool "pyexpat"
71         help
72           pyexpat module for Python.
73
74 config BR2_PACKAGE_PYTHON_READLINE
75         select BR2_PACKAGE_READLINE
76         bool "readline"
77         help
78           readline module for Python (required for command-line
79           editing in the Python shell).
80
81 config BR2_PACKAGE_PYTHON_SSL
82         select BR2_PACKAGE_OPENSSL
83         bool "ssl"
84         help
85           _ssl module for Python (required for https in urllib etc).
86
87 config BR2_PACKAGE_PYTHON_UNICODEDATA
88         bool "unicodedata module"
89         default y
90         help
91           Unicode character database (used by stringprep module) (large).
92
93 if BR2_PACKAGE_PYTHON_UNICODEDATA
94
95 choice
96         prompt "Python unicode database format"
97         default BR2_PACKAGE_PYTHON_UCS2
98         help
99           Select Python unicode database format for target
100
101 config BR2_PACKAGE_PYTHON_UCS2
102         bool "Universal Character Set 2-byte (UCS2)"
103
104 config BR2_PACKAGE_PYTHON_UCS4
105         bool "Universal Character Set 4-byte (UCS4)"
106
107 endchoice
108
109 endif
110
111 config BR2_PACKAGE_PYTHON_SQLITE
112         bool "sqlite module"
113         select BR2_PACKAGE_SQLITE
114         help
115           SQLite database support
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