The initial version of this framework only has support for an app.py file. I always envisioned being able to support more than this, while still trying to keep things small. What I had in mind:
- You can either have a single
app.py or, create an app/ directory.
- The
app/ directory must be a python package (__init__.py).
- You still have to have an
app object defined in __init__.py.
- Everything in
app/ will be included in the zip file distribution, including non python files.
This will allow you to split your app into multiple python modules as well as include data/config files with your app.
Keep in mind, the source code analyzer will likely need to be updated as well to handle more than just an app.py file.
The initial version of this framework only has support for an
app.pyfile. I always envisioned being able to support more than this, while still trying to keep things small. What I had in mind:app.pyor, create anapp/directory.app/directory must be a python package (__init__.py).appobject defined in__init__.py.app/will be included in the zip file distribution, including non python files.This will allow you to split your app into multiple python modules as well as include data/config files with your app.
Keep in mind, the source code analyzer will likely need to be updated as well to handle more than just an
app.pyfile.