Re: [pylons-discuss] config in config files?

2017-08-07 Thread Michael Merickel
You need to write a loader for plaster that can handle yaml files and the loader needs to satisfy the plaster.interfaces.IWSGIProtocol. No one has stepped up quite yet to write any alternate file format loaders so you're on your own there. The ability to do so is what's supported now. That loader

Re: [pylons-discuss] config in config files?

2017-08-07 Thread Chris Withers
On 03/08/2017 22:20, Bert JW Regeer wrote: I guess it is not entirely clear, but here’s docs for the two methods: https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html#using-pastedeploy **settings is provided by your launcher, pserve will use plaster and call main()