Baruwa is written in python so it is ideal that the compilation and minification takes place using setuptools when the package archive is created.
Python setuptools allows for plugin commands to be created for actions like this, i searched for existing projects that do css and js minification and found minify which uses the yui compressor from yahoo. Am not a fan of java so i decided to implement a minification tools plugin that would work using only pure python without external commands.
Using tsantsa the process of generating Baruwa 2 release tar balls has been simplified.
I have since spoken to the author of the minify package and we have agreed to work together to create a project that uses the best minification tools the user has installed on their system, doing what anyjson has done for json for minification.
blog comments powered by Disqus