As a freshman in python, it made me very confused once what does a package
mean and the weird file such like *.egg-info, entry_points.txt, setup.cfg
... I can't understand very well even today. And the paster like ini file,
plain python configuration will surely be more powerful with no cost to
learn.
I suggest not use pserve script but a plain python script like below to be
default or at least a option to make it easier:
#!/path/to/python
import sys
sys.insert(0, 'path/to/app')
from app import wsgi_app, app_config
from werkzeug.serving import run_simple
run_simple(app_config.HOSTNAME, app_config.PORT, wsgi_app,
use_reloader=app_config.DEBUG, use_debugger=app_config.DEBUG)
Or something more powerful.
Regards,
Cosmia