I was able to benefit from this not only on package.py but also on a couple of my personal plugins that produce autogen files within /static.