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: 
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() on your application that is registered with setup tools and
provide the settings dictionary to do with as you please.

With Steve's pointer to plaster, this sounds great, but how do I tell pserve to use plaster?

cheers,

Chris

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/7f3fcdb8-655c-33bc-c516-b1a38488ea8d%40withers.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to