Move word-wrap functionality into the templates. Add requirements.txt.