Comment 0 for bug 496705

Revision history for this message
Brad Crittenden (bac) wrote :

There are a few places site-wide initialization can be done, such as in lib/site.py or in the [scripts] portion of buildout.cfg. The former has been demonstrated to cause some undesirable (and as yet unexplained) behavior while the former seems to work very well, though is non-standard and not very discoverable.

It would be best to have a single, well-known, discoverable initialization entry point. This entry point will likely be called by one of the other methods but will be a cleaner place for developers to put initialization code.