Files
buildroot/package/python-web2py/Config.in
T
Yann E. MORIN 129042be12 package/python-web2py: fix build with python 3.12
Backport an upstream patch to fix a build error with python 3.12 (imp
module not longer available).

Enable SSL in host-python when the admin panel is enabled: web2py will
wnt to generate a password, and uses pydal for that, which in turns uses
hashlib.pbkdf2_hmac(). Until python 3.11, there was a pure-python
fallback for when python was built without openssl; with 3.12, that
fallback was removed, so opensll is now required.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-21 21:10:34 +02:00

41 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_PYTHON_WEB2PY
bool "python-web2py"
select BR2_PACKAGE_PYTHON_PYDAL # runtime
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
select BR2_PACKAGE_PYTHON3_SQLITE # runtime
select BR2_PACKAGE_PYTHON_YATL # runtime
help
web2py is a free open source full-stack framework for rapid
development of fast, scalable, secure and portable
database-driven web-based applications.
http://web2py.com
if BR2_PACKAGE_PYTHON_WEB2PY
config BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN
bool "install admin panel application"
default y
select BR2_PACKAGE_HOST_PYTHON3
# web2py will use pydal to generate the password (below), and that
# uses hashlib.pbkdf2_hmac(), which is only available when python
# is built with openssl since 3.12 (previously, there was a slow
# pure-python fallback, dropped in 3.12).
select BR2_PACKAGE_HOST_PYTHON3_SSL
help
This option install web2py admin panel application.
It can be removed to save space on embedded systems.
if BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN
config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD
string "admin panel password"
default "web2py"
help
Set the admin panel password.
endif
endif