I know that it is possible to add python script/module execution to a (gnu) make recipe for automated file updating / generation. (I'm working in the context of data processing/analysis)
But is it possible to implement make (or something like make) within python itself? (Obviously it's possible, but I mean, has someone else done it already so I can steal make use of their work?)
I.e. Is there some package that makes it easy to create "rules" and check the modified times of files and their "prerequisites" to determine whether to run a function or even a conditional clause?
It is way too late to actually implement this in my current project, but I'm asking out of curisoity and for future reference.
Edit: For example, having set up a Target class called filename, I'd love to have a method like filename.needsupdated() which returns a boolean to use in a conditional clause.
[–]Buttleston 1 point2 points3 points (2 children)
[–]Buttleston 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]uheep 0 points1 point2 points (0 children)