> hello,
>
> i'm working on a self-managing queue-like system over RabbitMQ, and
> hence using the AMQP emperor.  i've never been a big fan of using INI
> files, so this time i tried JSON instead ... but they do not appear to
> handle string interpolation of $(ENVIRONMENT) args? i didn't try other
> configs yet, or other interpolation types like @(file) or
> %(identifier), but i'm assuming the don't work either :-(
>
> lately i've been favoring exec:// configs to handle most things, but i
> still like using, for example:
>
> virtualenv = $(VIRTUAL_ENV)
>
> ... esp. in development.  so, my question is: are INIs the only config
> type supporting interpolation? tried 1.2.4 and HEAD.
>
> thanks!
>


Interpolations are managed out of config file parsers, so they must work
independently by it:

{ "uwsgi": {
                "socket": "@(pippo)",
                "print": "$(PATH)"
        }
}


works for me

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to