This code tries to find cyclic imports. It does not try to check C extension modules - it only does pure python code. See the Makefile for example usage.