Python: split module initialization from WSGI implementation.

This is required for futher ASGI implementation.
This commit is contained in:
Max Romanov
2020-09-14 13:27:02 +03:00
parent d483aa74e6
commit d94dac091f
4 changed files with 388 additions and 285 deletions

View File

@@ -167,6 +167,7 @@ $echo " + Python module: ${NXT_PYTHON_MODULE}.unit.so"
$echo >> $NXT_MAKEFILE
NXT_PYTHON_MODULE_SRCS=" \
src/python/nxt_python.c \
src/python/nxt_python_wsgi.c \
"