Pull request #921: CAS-14473
Merge in CASA/casa6 from CAS-14473 to master
* commit '22ff54115d60fa3559c05b9a2fa95f2fe17678c0':
Update build.conf
Replace distutils remove_tree with shutil.rmtree
Replace distutils remove_tree with shutil shutil.copytree
Update build.conf to 14473 UI wheels CAS-14503: added the reference of global scope to exec() CAS-14503: fixed for versions prior to 3.12 CAS-14503: specified an argument to exec() to set scope
Update build.conf for CAS-14504