logrotate: enable selinux support
[buildroot-gz.git] / package / python / Config.in
blobfa83e7774a51a975ba15d44c66e48e3ba2ef6e23
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
5 config BR2_PACKAGE_PYTHON
6         bool "python"
7         depends on BR2_USE_WCHAR
8         # uses fork()
9         depends on BR2_USE_MMU
10         depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
11         depends on !BR2_STATIC_LIBS
12         select BR2_PACKAGE_LIBFFI
13         help
14           The python language interpreter.
16           http://www.python.org/
18 if BR2_PACKAGE_PYTHON
20 choice
21         prompt "python module format to install"
22         default BR2_PACKAGE_PYTHON_PYC_ONLY
23         help
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"
35 endchoice
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
43         bool "bzip2 module"
44         help
45           bzip2 module for Python
47 config BR2_PACKAGE_PYTHON_BSDDB
48         select BR2_PACKAGE_BERKELEYDB
49         bool "bsddb module"
50         help
51           bsddb module for Python.
53 config BR2_PACKAGE_PYTHON_CODECSCJK
54         bool "codecscjk module"
55         help
56           Chinese/Japanese/Korean codecs module for Python (large).
58 config BR2_PACKAGE_PYTHON_CURSES
59         select BR2_PACKAGE_NCURSES
60         bool "curses module"
61         help
62           curses module for Python.
64 config BR2_PACKAGE_PYTHON_OSSAUDIODEV
65         bool "ossaudiodev module"
66         help
67           ossaudiodev module for Python.
69 config BR2_PACKAGE_PYTHON_READLINE
70         select BR2_PACKAGE_READLINE
71         bool "readline"
72         help
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
78         bool "ssl"
79         help
80           _ssl module for Python (required for https in urllib etc).
82 config BR2_PACKAGE_PYTHON_UNICODEDATA
83         bool "unicodedata module"
84         default y
85         help
86           Unicode character database (used by stringprep module) (large).
88 if BR2_PACKAGE_PYTHON_UNICODEDATA
90 choice
91         prompt "Python unicode database format"
92         default BR2_PACKAGE_PYTHON_UCS2
93         help
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)"
102 endchoice
104 endif
106 config BR2_PACKAGE_PYTHON_SQLITE
107         bool "sqlite module"
108         select BR2_PACKAGE_SQLITE
109         help
110           SQLite database support
112 config BR2_PACKAGE_PYTHON_PYEXPAT
113         select BR2_PACKAGE_EXPAT
114         bool "xml module"
115         help
116           pyexpat and xml libraries for Python
118 config BR2_PACKAGE_PYTHON_ZLIB
119         bool "zlib module"
120         select BR2_PACKAGE_ZLIB
121         help
122           zlib support in Python
124 config BR2_PACKAGE_PYTHON_HASHLIB
125         bool "hashlib module"
126         select BR2_PACKAGE_OPENSSL
127         help
128           hashlib support in Python
130 endmenu
132 endif