Main app module clashes with default python2.7 install on Openshift
milonline-eu opened this issue · comments
Default python2.7 installation in Openshift has app.py file in root dir to run Python app. The base module is called the same so in reality not found.
In my case I renamed the module app to "application".
The solution might be to set OPENSHIFT_PYTHON_WSGI_APPLICATION variable. In build action/hook? I do not how yet...
Hmmm. Now that app.py includes Flask-Script, perhaps we could rename app.py to cli.py?