add BRANCH=py3 to core.py