flask-assets

I think this works ok now.