xref: /OK3568_Linux_fs/buildroot/package/python3/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1comment "python3 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
4
5config BR2_PACKAGE_PYTHON3
6	bool "python3"
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	select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS
14	help
15	  The python language interpreter.
16
17	  http://www.python.org/
18
19if BR2_PACKAGE_PYTHON3
20
21choice
22	prompt "python3 module format to install"
23	default BR2_PACKAGE_PYTHON3_PYC_ONLY
24	help
25	  Select Python module format to install on target (py, pyc or
26	  both)
27
28config BR2_PACKAGE_PYTHON3_PY_ONLY
29	bool ".py sources only"
30
31config BR2_PACKAGE_PYTHON3_PYC_ONLY
32	bool ".pyc compiled sources only"
33
34config BR2_PACKAGE_PYTHON3_PY_PYC
35	bool ".py sources and .pyc compiled"
36
37endchoice
38
39menu "core python3 modules"
40
41comment "The following modules are unusual or require extra libraries"
42
43config BR2_PACKAGE_PYTHON3_2TO3
44	bool "2to3 module"
45	help
46	  code translation from python 2 to 3
47
48config BR2_PACKAGE_PYTHON3_BERKELEYDB
49	bool "berkeleydb"
50	select BR2_PACKAGE_BERKELEYDB
51	help
52	  berkeleydb module for Python3
53
54config BR2_PACKAGE_PYTHON3_BZIP2
55	bool "bz2 module"
56	select BR2_PACKAGE_BZIP2
57	help
58	  bzip2 module for Python3
59
60config BR2_PACKAGE_PYTHON3_CODECSCJK
61	bool "codecscjk module"
62	help
63	  Chinese/Japanese/Korean codecs module for Python (large).
64
65config BR2_PACKAGE_PYTHON3_CURSES
66	bool "curses module"
67	select BR2_PACKAGE_NCURSES
68	help
69	  curses module for Python3.
70
71config BR2_PACKAGE_PYTHON3_DECIMAL
72	bool "decimal module"
73	select BR2_PACKAGE_MPDECIMAL
74	help
75	  decimal module for Python3.
76
77config BR2_PACKAGE_PYTHON3_OSSAUDIODEV
78	bool "ossaudiodev module"
79	help
80	  ossaudiodev module for Python3.
81
82config BR2_PACKAGE_PYTHON3_READLINE
83	bool "readline"
84	select BR2_PACKAGE_READLINE
85	help
86	  readline module for Python3 (required for command-line
87	  editing in the Python shell).
88
89config BR2_PACKAGE_PYTHON3_SSL
90	bool "ssl"
91	select BR2_PACKAGE_OPENSSL
92	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
93	select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2
94	help
95	  _ssl module for Python3 (required for https in urllib etc).
96
97config BR2_PACKAGE_PYTHON3_UNICODEDATA
98	bool "unicodedata module"
99	default y
100	help
101	  Unicode character database (used by stringprep module)
102	  (large).
103
104config BR2_PACKAGE_PYTHON3_SQLITE
105	bool "sqlite module"
106	select BR2_PACKAGE_SQLITE
107	help
108	  SQLite database support
109
110config BR2_PACKAGE_PYTHON3_PYEXPAT
111	bool "xml module"
112	select BR2_PACKAGE_EXPAT
113	help
114	  pyexpat and xml libraries for Python3.
115
116config BR2_PACKAGE_PYTHON3_XZ
117	bool "xz module"
118	select BR2_PACKAGE_XZ
119	help
120	  xz (a.k.a lzma) module for Python3
121
122config BR2_PACKAGE_PYTHON3_ZLIB
123	bool "zlib module"
124	select BR2_PACKAGE_ZLIB
125	help
126	  zlib support in Python3
127
128endmenu
129
130endif
131