Installation¶
You can install Gears with pip:
$ pip install Gears
If you want to use node.js-dependent compilers or compressors, you need to install other dependencies:
$ pip install gears-less # LESS
$ pip install gears-stylus # Stylus
$ pip install gears-handlebars # Handlebars
$ pip install gears-coffeescript # CoffeeScript
$ pip install gears-uglifyjs # UglifyJS
$ pip install gears-clean-css # clean-css
Please note that all these compilers and compressors require node.js to be installed on your system.
It is strongly recommended to install Gears within activated virtualenv.
If you want to use one of available extensions (django-gears, Flask-Gears or gears-cli), please refer to its documentation instead.