Consolidate basic rb-site setup functionality into setup_rbsite().
Review Request #11410 — Created Jan. 26, 2021 and submitted — Latest diff uploaded
prepare-dev.pymakes use ofrb-site's internals for some setup, and
needs to do some initialization to get it working. To avoid
prepare-dev.pyhaving to know much about the internals of this code,
this change introduces a newsetup_rbsite()function that sets up the
logging andConsoleUI.This will shield
prepare-dev.pyfrom some upcoming changes to the
console initialization.
Tested both
rb-siteandprepare-dev.pyin Python 2.7 and 3.9.