How to derive import dependency structure

Skip Montanaro skip at
Fri Sep 21 15:37:36 CEST 2001

    Harald> Let be imported by which generates --- in a very time
    Harald> consuming process --- some data structure A.dat.

    Harald>          import         generate
    Harald> --------> ---------->

    Harald> Currently A.dat is only generated if is newer, but this is
    Harald> not enough since A.dat must also be generated, if is
    Harald> changed.

Sounds like make dependencies to me: :
        python             # writes by side effect 

If make isn't an option, perhaps distutils will do the trick.

Skip Montanaro (skip at

More information about the Python-list mailing list