Customizing SBuild and customizing SBuild projects
|
Back to Build developer |
Table of content |
Introduction Programmers like to have an overview of how their tool behaves, the 1000-feet view of the steps it takes behind the scene to perform some task. Especially, SBuild claiming that it is a highly programmable and a highly customizable tool for programmers, we need to provide this overview. |
Where do I place my settings?Here are the obvious choice of settings:
Now let's deal with the less obvious ones:
They are less obvious because SBuild doesn't mandate a place to store them, unlike the universal and product-wide above. Currently, SBuild expectation is that you code these settings in the _sb_custom.py file of the SBuild project. But SBuild lets you use whatever valid Python code you see fit, which means that they can physically be in some other file on disk or on the Web at the other end of the world, whatever is practical for your situation. |
Site-wide settings: the sb.get_host() and _sb_site.py
|
User-specific settings: the sb.get_user() and _sb_users.py
|
Back to Build developer |