JSTools is a collection of Python scripts for packaging and efficiently serving JavaScript.
Easy Install
$ easy_install jstools
This will put the following scripts in '/your/python/distribution/bin':
$ bin/jsbuild
$ bin/jsmin
Depending on your system, this action may require sudo.
Environment Install
'jstools' includes a script to create a contained python environment. This script also automatically downloads the yui compressor and puts it in a place jstools can find it.
This script will turn a folder of your choice into a python environment [1] with the jstools scripts installed in a directory called 'bin':
$ easy_install -b ./ -e jstools
$ python jstools/install_jstools ./jsdir
This makes 'jsdir' jstools enabled with it's own 'bin'. source the script 'bin/activate', and now jsbuild and jsmin are on your path:
$ cd jsdir
$ . bin/activate
Product's homepage
Requirements:
· Python