[libvirt] [PATCH python 2/4] setup.py: Move module list building to its own function