Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Listing buildout configuration variables

I'd like to find out, exactly what variables are available when using zc.buildout. I can always look at the source, but ideally I'd find a list somewhere, or be able to query buildout to find out what it thinks are the variables available at any one time. Is this possible?

like image 206
chiggsy Avatar asked Jan 10 '10 14:01

chiggsy


2 Answers

I found from the buildout docs that

bin/buildout annotate

was what I was looking for.

like image 122
chiggsy Avatar answered Sep 29 '22 08:09

chiggsy


It is not the prettiest list, but you can look at .installed.cfg in your buildout's directory.

For every part, it shows which options it knows about. (For some reason several parts are often shown multiple times).

like image 31
Reinout van Rees Avatar answered Sep 29 '22 09:09

Reinout van Rees