Closed kissgyorgy closed 8 years ago
Looks like a bug in the build system. Also the documentation should be updated to use examples/bootstrap.py as path.
Adding plugin_dir = .
to flask.ini fixes the compilation error.
A better solution would be build uwsgi with this flask.ini:
[uwsgi]
inherit = base
main_plugin = python
bin_name = myapp
embed_files = bootstrap.py,myapp.py
I wanted to embed a flask application, and went through the documentation section Embedding an application in uWSGI, but the
python uwsgiconfig.py --build flask
step fails:I tried with different versions by switching tags, downloading latest stable (2.0.11.2) but I always get this error message. What am I doing wrong?