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()

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

2017-08-03 Thread Bert JW Regeer
> On Aug 3, 2017, at 15:07, Chris Withers > wrote: > > > > On 03/08/2017 22:04, Chris Withers wrote: >> On 03/08/2017 19:12, Bert JW Regeer wrote: >>> You can grab it from a .ini or wherever when using the latest Pyramid >>> with plaster support

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

2017-08-03 Thread Michael Merickel
pserve and all pyramid tools use plaster under the hood as of 1.9. plaster was a significant enough redesign from montague that it felt like it warranted being a new library. - Michael On Thu, Aug 3, 2017 at 4:06 PM, Chris Withers wrote: > Hey Steve, > > Hope it's all going

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

2017-08-03 Thread Chris Withers
On 03/08/2017 22:04, Chris Withers wrote: On 03/08/2017 19:12, Bert JW Regeer wrote: You can grab it from a .ini or wherever when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). I guess it is not entirely clear, but here’s docs

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

2017-08-03 Thread Chris Withers
Hey Steve, Hope it's all going well too :-) On 03/08/2017 20:27, Steve Piercy wrote: On 8/3/17 at 8:12 PM, ch...@withers.org (Chris Withers) pronounced: What's plaster? https://docs.pylonsproject.org/projects/plaster/en/latest/ Cool, more out of curiosity than anything: how came montague

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

2017-08-03 Thread Chris Withers
On 03/08/2017 19:12, Bert JW Regeer wrote: You can grab it from a .ini or wherever when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). I guess it is not entirely clear, but here’s docs for the two methods:

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

2017-08-03 Thread Steve Piercy
On 8/3/17 at 8:12 PM, ch...@withers.org (Chris Withers) pronounced: What's plaster? https://docs.pylonsproject.org/projects/plaster/en/latest/ --steve Steve Piercy, Soquel, CA -- You received this message because you are subscribed to the Google Groups

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

2017-08-03 Thread Chris Withers
Hi Bert, Long time no speak, hope you're well! On 03/08/2017 19:12, Bert JW Regeer wrote: You can grab it from a .ini or wherever "or wherever" preferable ;-) when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). What's

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

2017-08-03 Thread Bert JW Regeer
You can grab it from a .ini or wherever when using the latest Pyramid with plaster support (write your own loader to load it from yaml files for example). I guess it is not entirely clear, but here’s docs for the two methods:

[pylons-discuss] config in config files?

2017-08-03 Thread Chris Withers
Hi All, Once more determined to actually build something in pyramid, going to settle on a REST server to feed a web front end and likely a cli tool too. Looking for advice on best bits to use, but in the meantime, looking at: